home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / PROGEDIT / 2077.ZIP / SEDT-DOC.ZIP / SEDTMAN.EDT < prev   
Text File  |  1990-01-05  |  202KB  |  6,457 lines

  1. Copyright (c) Anker Berg-Sonne, 1985-1990
  2.     Sedt Version 4.0 (271)
  3.  
  4.  
  5.                  Sedt Reference Manual
  6.  
  7.                      Index
  8.  
  9.     0        Introduction
  10.     0.0        Structure of This Manual
  11.     0.1        Terminology
  12.  
  13.     1        Primer
  14.     1.0        Getting Started
  15.     1.1        Display
  16.     1.2        Moving the cursor
  17.     1.3        Inserting Text
  18.     1.4        Deleting Text
  19.     1.5        Saving your changes
  20.     1.6        Summary
  21.     1.7        Limitations
  22.  
  23.     2        Advanced Guide
  24.     2.1        Introduction
  25.     2.2        Entering Sedt
  26.     2.2.1        -<Line Number>
  27.     2.2.2        -a
  28.     2.2.3        -at
  29.     2.2.4        -b
  30.     2.2.5        -co
  31.     2.2.6        -e
  32.     2.2.7        -edt
  33.     2.2.8        -ega
  34.     2.2.9        -f
  35.     2.2.10        -i<File Name>
  36.     2.2.11        -k
  37.     2.2.12        -l<Size>
  38.     2.2.13        -m<Hex number>
  39.     2.2.14        -mo
  40.     2.2.15        -p<PID>
  41.     2.2.16        -pc
  42.     2.2.17        -r
  43.     2.2.18        -rb
  44.     2.2.19        -ro
  45.     2.2.20        -s<Size>
  46.     2.2.21        -v
  47.     2.2.22        -wi
  48.     2.2.23        -wps
  49.     2.2.24        -xt
  50.  
  51.     2.3        Sedt's Data Files
  52.     2.3.1        Configuration File
  53.     2.3.1.1     AUTOSAVE
  54.     2.3.1.2        BACKUPFILE
  55.     2.3.1.3     BUFFERING
  56.     2.3.1.4        COLUMN
  57.     2.3.1.5        CONTEXT
  58.     2.3.1.6        CONTROLZ
  59.         2.3.1.7         CURSOR
  60.     2.3.1.8        CURSORLINE
  61.     2.3.1.9     DIALOG
  62.     2.3.1.10    EGA43
  63.     2.3.1.11    FONTSIZE
  64.     2.3.1.12    GOLD
  65.     2.3.1.13    JOURNALING
  66.     2.3.1.14    KEYBOARD
  67.     2.3.1.15    KEYPROG
  68.     2.3.1.16    MAPPING
  69.     2.3.1.17    MAXSCROLL
  70.     2.3.1.18    MODE
  71.     2.3.1.19    MOUSE
  72.     2.3.1.20    NUMLOCK
  73.     2.3.1.21    PALETTE
  74.     2.3.1.22    REMEMBER
  75.     2.3.1.23    RETURN
  76.     2.3.1.24    RULER
  77.     2.3.1.25    SCREEN
  78.     2.3.1.26    SCREENSHIFT
  79.     2.3.1.27    SHAREMESSAGE
  80.     2.3.1.28    SYSTEM
  81.     2.3.1.29    TAB
  82.     2.3.1.30    VIDEO
  83.     2.4        Initialization
  84.     2.5        Setting up the ruler
  85.     2.6        Options/Modes
  86.     2.7        Responding to Prompts
  87.     2.8        Repeating Commands
  88.     2.9        Cursor Movement
  89.     2.10        Text Insertion
  90.     2.11        Selecting Text Ranges
  91.     2.12        Deleting Text
  92.     2.13        Substitution
  93.     2.14        Windows and Buffers
  94.     2.15        Text Formatting
  95.     2.16        Programming Keys
  96.     2.17        Changing Options
  97.     2.18        Miscellaneous Commands
  98.  
  99.     3        Using the MS-DOS version of Sedt
  100.     3.1        Support of the Microsoft mouse driver
  101.  
  102.     4        Using the Microsoft Windows version of Sedt
  103.     4.1        Window Control
  104.     4.2        Mouse Control
  105.     4.3        Menu Control
  106.     4.3.1        File
  107.     4.3.1.1     New
  108.     4.3.1.2     Open..
  109.     4.3.1.2     Save
  110.     4.3.1.3     Save as..
  111.     4.3.1.4     Insert..
  112.     4.3.1.5     Quit
  113.     4.3.2        Window
  114.     4.3.2.1     Untitled
  115.             Unused
  116.             <File name>
  117.     4.3.2.2     Switch
  118.     4.3.3        Edit
  119.     4.3.3.1     Clear
  120.     4.3.3.2     Cut
  121.     4.3.3.3     Paste
  122.     4.3.4        Ruler
  123.     4.3.4.1     Load <X>
  124.     4.3.5        Help
  125.  
  126.     5        Using the ATARI GEM version of Sedt
  127.     5.1        Window Control
  128.     5.2        Mouse Control
  129.     5.3        Menu Control
  130.     5.3.1        Desk
  131.     5.3.1.1     About Sedt
  132.     5.3.2        File
  133.     5.3.2.1     Load..
  134.     5.3.2.2     Save
  135.     5.3.2.3     Save as..
  136.     5.3.2.4     Insert..
  137.     5.3.2.5     Quit
  138.     5.3.3        Window
  139.     5.3.3.1     Open 0
  140.     5.3.3.2     Switch
  141.     5.3.3.3     Clear
  142.     5.3.4        Select
  143.     5.3.4.1     Clear
  144.     5.3.4.2     Cut
  145.     5.3.4.3     Paste
  146.     5.3.5        Ruler
  147.     5.3.5.1     Load <X>
  148.     5.3.6        Help
  149.     5.3.6.1     Show
  150.  
  151.     6        Sedt hints and tricks
  152.     6.1        Using Sedt for programming
  153.     6.2        Using Sedt for text and documents
  154.     6.3        Repetitive tasks
  155.     6.4        Creating menus
  156.     6.5        Using  different    initialization    files   for
  157.             different file types
  158.     
  159.     7        Customizing keyboards
  160.     7.1        Function definition file
  161.     7.2        Key map file
  162.     7.3        MAPKEY program
  163.     
  164.     8        Help file
  165.  
  166.     9        Reference
  167.     9.1        Interpreting Keyboard Input
  168.     9.2        Translating Keystrokes
  169.     9.3        Command Syntax
  170.     9.4        Commands
  171.     9.4.1        Movement Commands
  172.     9.4.1.1     @AC    Absolute Character
  173.     9.4.1.2     @AL    Absolute Line
  174.     9.4.1.3     @BB    Beginning of Buffer
  175.     9.4.1.4     @BM    Match bracketing character
  176.     9.4.1.5     @EB    End of Buffer
  177.     9.4.1.6     @EL    End of Line
  178.     9.4.1.7     @C    Character
  179.     9.4.1.8     @F    Find
  180.     9.4.1.9     @L    Line
  181.     9.4.1.10    @M    Mark
  182.     9.4.1.11    @N    Next
  183.     9.4.1.12    @PAG    Page
  184.     9.4.1.13    @PAR    Paragraph
  185.     9.4.1.14    @SCR    Screen
  186.     9.4.1.15    @SEN    Sentence
  187.     9.4.1.16    @SR    Select Range
  188.     9.4.1.17    @V    Vertical
  189.     9.4.1.18    @W    Word
  190.     9.4.1.19    @XNM    Next Mark
  191.     9.4.1.20    @XSR    Select Region with no clear
  192.     9.4.2        Action Commands
  193.     9.4.2.1     :A    Advance
  194.     9.4.2.2     :B    Backward
  195.     9.4.2.3     :CB    Cursor at Bottom
  196.     9.4.2.4     :CC    Change Case
  197.     9.4.2.5     :CD    Change to Lower case
  198.     9.4.2.6     :CE    Change Case Edt Style
  199.     9.4.2.7     :CH    Insert ASCII Character
  200.     9.4.2.8     :CK    Checkpoint buffer
  201.     9.4.2.9     :CL    Center Line
  202.     9.4.2.10    :CM    Cursor at Middle
  203.     9.4.2.11    :CNA    Add number to counter
  204.     9.4.2.12    :CNG    Get counter from buffer
  205.     9.4.2.13    :CNI    Increment or decrement counter
  206.     9.4.2.14    :CNP    Insert value of counter in buffer
  207.     9.4.2.15    :CNS    Set counter value
  208.     9.4.2.16    :CS    Save buffer context
  209.     9.4.2.17    :CT    Cursor at Top
  210.     9.4.2.18    :CU    Change to Upper Case
  211.     9.4.2.19    :CW    Change to other window on screen
  212.     9.4.2.20    :D    Delete
  213.     9.4.2.21    :EAP    Delete and Append
  214.         9.4.2.22        :EF     Execute function
  215.     9.4.2.23    :EK    Execute key
  216.     9.4.2.24    :EL    Set error level
  217.     9.4.2.25    :ERC    Clear edit region
  218.     9.4.2.26    :ERS    Set edit region
  219.     9.4.2.27    :FE    Edit File
  220.     9.4.2.28    :FG    Get File
  221.     9.4.2.29    :FNL    Larger Font
  222.     9.4.2.30    :FNS    Smaller Font
  223.     9.4.2.31    :FS    Save File
  224.     9.4.2.32     :FT    Fill
  225.     9.4.2.33    :FW    Write File
  226.     9.4.2.34    :FX    Execute File
  227.     9.4.2.35    :GAP    Get and append
  228.     9.4.2.36    :GE    Get
  229.     9.4.2.37    :GR    Get ruler
  230.     9.4.2.38    :H    Help
  231.     9.4.2.39    :I    Insert
  232.         9.4.2.40        :KA     Define character key
  233.     9.4.2.41    :KF    Define key function string
  234.         9.4.2.42        :KGA    Define gold character key
  235.         9.4.2.43        :KGK    Define gold function key key
  236.         9.4.2.44        :KK     Define function key key
  237.     9.4.2.45    :KN    Define key function number
  238.     9.4.2.46    :LD    Decrease indentation
  239.     9.4.2.47    :LI    Increase indentation
  240.     9.4.2.48    :LK    Load key definition
  241.     9.4.2.49    :LNE    Execute keystrokes stored in key
  242.     9.4.2.50    :LNL    Store keystrokes in key
  243.     9.4.2.51    :LNX    End learning
  244.     9.4.2.52    :LS    Set indentation level
  245.     9.4.2.53    :M    Mark cursor position
  246.     9.4.2.54    :NL    New line
  247.     9.4.2.55    :NS    Substitute next
  248.         9.4.2.56        :NWC    Switch to next unsaved buffer
  249.         9.4.2.57        :NWN    Switch to next unused buffer
  250.         9.4.2.58        :NWU    Switch to next used buffer
  251.     9.4.2.59    :OE    Output error message
  252.     9.4.2.60    :OL    Open line
  253.     9.4.2.61    :OM    Output message
  254.     9.4.2.62    :OS    Toggle overstrike mode
  255.     9.4.2.63    :OW    Switch to previous buffer
  256.     9.4.2.64    :PD    Insert current date
  257.     9.4.2.65    :PL    Load paste buffer
  258.     9.4.2.66    :POPCH    Restore saved buffer change flag
  259.     9.4.2.67    :PR    Print current buffer
  260.     9.4.2.68    :PS    Save paste buffer
  261.     9.4.2.69    :PT    Insert current time
  262.     9.4.2.70    :PUSHCH Save buffer change flag and clear
  263.     9.4.2.71    :Q    Quit
  264.     9.4.2.72    :REP    Replace
  265.     9.4.2.73    :RF    Refresh display
  266.     9.4.2.74    :RK    Redefine key as character
  267.     9.4.2.75    :RL    Ruler
  268.     9.4.2.76    :RMCHA    Clear character delete buffer
  269.     9.4.2.77    :RMHEL    Clear help buffer
  270.     9.4.2.78    :RMLIN    Clear line delete buffer
  271.     9.4.2.79    :RMPAG    Clear page delete buffer
  272.     9.4.2.80    :RMPAR    Clear paragraph delete buffer
  273.     9.4.2.81    :RMPAS    Clear paste buffer
  274.     9.4.2.82    :RMSEA    Clear search buffer
  275.     9.4.2.83    :RMSEN    Clear sentence delete buffer
  276.     9.4.2.84    :RMSUB    Clear substitute buffer
  277.     9.4.2.85    :RMUNK    Clear unknown delete buffer
  278.     9.4.2.86    :RMWOR    Clear word delete buffer
  279.     9.4.2.87    :RS    Reset select range
  280.     9.4.2.88    :RTAB    Replace tabs with spaces
  281.     9.4.2.89    :RUL    Load ruler from entity
  282.     9.4.2.90    :RUS    Save ruler in buffer
  283.         9.4.2.91        :SAVF   Save function definitions in a file
  284.     9.4.2.92    :SAVK    Save key definitions in a file
  285.     9.4.2.93    :SC    Show current column
  286.     9.4.2.94    :SEL    Select
  287.     9.4.2.95    :SETB    Set block/line mode toggle
  288.     9.4.2.96    :SETD    Set direction toggle
  289.         9.4.2.97        :SETF   Set cursor behavior toggle
  290.     9.4.2.98    :SETK    Set typewriter key command execution
  291.     9.4.2.99    :SETR    Set replace/insert toggle
  292.     9.4.2.100       :SETT    Set tab insert/expand toggle
  293.     9.4.2.101       :SETU    Set case sensitivity toggle
  294.         9.4.2.102       :SETX   Set function expansion toggle
  295.     9.4.2.103       :SI    Send a shift in character
  296.     9.4.2.104       :SK    Save key definition
  297.     9.4.2.105       :SL    Load search buffer
  298.     9.4.2.106       :SO    Send a shift out character
  299.     9.4.2.107       :STAB    Replace multiple spaces with tabs
  300.     9.4.2.108       :STRP    Strip trailing spaces
  301.     9.4.2.109       :SUB    Substitute
  302.     9.4.2.110       :SV    Show Version
  303.     9.4.2.111       :SYQ    Spawn with no output
  304.     9.4.2.112    :SYR    Spawn with redirected output
  305.     9.4.2.113    :SYS    Spawn to operating system
  306.     9.4.2.114    :TAB    Move to next tab stop
  307.     9.4.2.115    :TAD    Adjust text by one tab stop
  308.     9.4.2.116    :TB    Toggle Block Mode
  309.     9.4.2.117    :TC    Toggle Control Character Display
  310.     9.4.2.118    :TD    Toggle Direction
  311.         9.4.2.119       :TF     Toggle cusor key behavior
  312.     9.4.2.120    :TI    Test for input
  313.     9.4.2.121    :TK    Toggle typewriter key command execution
  314.     9.4.2.122    :TM    Toggle buffer markers
  315.     9.4.2.123    :TP    Toggle Cursor Line
  316.     9.4.2.124    :TR    Toggle ruler display
  317.     9.4.2.125    :TS    Toggle automatic screen shifts
  318.     9.4.2.126    :TT    Toggle tab expansion
  319.     9.4.2.127    :TU    Toggle case sensitivity
  320.         9.4.2.128       :TX     Toggle functions expansion
  321.     9.4.2.129    :UC    Undelete character
  322.     9.4.2.130    :UL    Undelete line
  323.     9.4.2.131    :UM    Undo last command
  324.     9.4.2.132    :UOFF    Turn off screen updating
  325.     9.4.2.133    :UON    Turn on screen updating
  326.     9.4.2.134    :UPAG    Undelete page
  327.     9.4.2.135    :UPAR    Undelete paragraph
  328.     9.4.2.136    :UPD    Update screen header
  329.     9.4.2.137    :USEN    Undelete sentence
  330.     9.4.2.138    :USR    Paste
  331.     9.4.2.139    :UU    Undelete unknown
  332.     9.4.2.140    :UW    Undelete word
  333.     9.4.2.141    :WC    Toggle windows
  334.     9.4.2.142    :WD    Toggle width
  335.     9.4.2.143    :WI    Select buffer
  336.     9.4.2.144    :X    Exit
  337.     9.4.2.145    :YN    Prompt for confirmation
  338.     9.4.2.146    :Z    Zap buffer
  339.  
  340.     Appendix A    Keyboard translation
  341.     Appendix B    Installation
  342.     Appendix C    Error Messages
  343.     
  344.     Copyright (c) Anker Berg-Sonne, 1985-1990
  345.     Sedt Version 4.0 (271)
  346.  
  347.  
  348.                   Sedt Reference Manual
  349.  
  350.     0.0            Structure of This Manual
  351.  
  352.         This manual  is divided into three sections:  The first a
  353.     tutorial that introduces  the  user  to  the  essential basics of
  354.     editing using Sedt.   The  second an advanced guide that explains
  355.     the more complicated functions, and  the  third  a reference that
  356.     systematically covers all aspects of the  editor.    The Tutorial
  357.     and  Advanced Guide are organized by function:      Entering  Sedt,
  358.     inserting text, moving, etc..  The reference section is organized
  359.     alphabetically for easy access.
  360.  
  361.         For  the operating environments that differ significantly
  362.     from  the  standard,  command  driven  interface, the manual  has
  363.     sections that describes the differences.
  364.  
  365.     0.1              Terminology
  366.  
  367.         Sedt  is  supported  on  a wide range of systems  with    a
  368.     variety  of  keyboard  layouts.  When the manual instructs you to
  369.     type  a key it will use a generic  name  for  the  key,  such  as
  370.     <Return>.  Use the tables in Appendix A to  locate  where the key
  371.     is located on your keyboard.  The angle brackets are also used to
  372.     show where an actual parameter needs to be inserted.  E.g.   when
  373.     you see <line number> you should substitute a decimal number that
  374.     denotes a  line  in  your  file.  A construct surrounded by curly
  375.     brackets {} is    optional.    If  a construct is followed by three
  376.     periods ... it can be repeated as many times as you wish.
  377.  
  378.         A keystroke sequence described as <Gold> <Key> is entered
  379.     by typing the <Gold> key first,  then  releasing  it  and  typing
  380.     <Key>.      A sequence described as <Control>  <Key>  is    typed  by
  381.     holding down the <Control> key while <Key> is typed.
  382.  
  383.         The <Gold> key    is  the  most  important key to remember.
  384.     It's location on the  different  keyboards that Sedt supports is:
  385.     Keypad PF1 on Digital keyboards,  Esc  or  Num Lock on old IBM PC
  386.     keyboards  or  the  new  IBM  PC  keyboard,    Esc   on  old  IBM
  387.     PC/AT keyboards and Keypad ( on ATARI ST keyboards.
  388.     
  389.     Copyright (c) Anker Berg-Sonne, 1985-1990
  390.     Sedt Version 4.0 (271)
  391.  
  392.  
  393.                     Tutorial
  394.  
  395.     1.0             Getting Started
  396.  
  397.         To start  editing  a  file with Sedt you type the command
  398.     "Sedt <file name>"  at    the operating system command prompt.  The
  399.     same command is used to create a new file and to edit an existing
  400.     file.
  401.  
  402.     For example:
  403.  
  404.         SEDT FOO.BAR
  405.  
  406.         will create a new file named FOO.BAR, or modify  the file
  407.     if it already exists.
  408.     1.1                 Display
  409.  
  410.         The Sedt screen  display show a section, called a window,
  411.     of the file you  are  editing.      What    you  see  is what will be
  412.     written to the file.   Editors    of  this  type are called WYSIWYG
  413.     (What You See Is What You  Get)  editors.    Above  and below the
  414.     window is  displayed  information  about the edit session and the
  415.     settings of options.
  416.  
  417.         The first  line on the display , the FILE line, gives you
  418.     information about the file you currently are editing.
  419.  
  420.             In the    first column you may see an asterisk (*).
  421.         This shows that  you  have modified the file since it was
  422.         loaded, or since last time it was saved by you.
  423.  
  424.             Next Sedt shows the name of the file being edited
  425.         after the text "File:  ".    The name is exactly the same
  426.         as the one you entered when you called Sedt.
  427.  
  428.             After the  text  "C="  you  will  see  the column
  429.         within the text  that the cursor is placed over.  On some
  430.         versions the column number  is    not shown for performance
  431.         reasons.
  432.  
  433.             The text "L=" is followed  by  the  absolute line
  434.         number within the text being edited  that  the    cursor is
  435.         placed on.
  436.  
  437.             The next field, after the text "B="  shows  which
  438.         of   several  possible    file  buffers  you  are  editing.
  439.         Buffers allow you to edit several files at the same time.
  440.         To  begin  with, Sedt will always display buffer number 0
  441.         containing the    file  you specified when you called Sedt.
  442.         More information about    buffers  is  given  later in this
  443.         manual.
  444.     
  445.             On  IBM  PCs, PS/2s and compatibles a C  will  be
  446.         displayed  in  the  last  column if the Caps Lock  is  in
  447.         effect.
  448.  
  449.         The second line  of  the  display is the RULER.  It shows
  450.     how the text you  are  editing will be formatted.  You can change
  451.     the ruler a number of  ways.  The ruler shown when you enter Sedt
  452.     is the DEFAULT RULER, which most  often  is the one supplied with
  453.     Sedt.  You, or your system manager  may  change the default ruler
  454.     or any other ruler stored on disk.
  455.  
  456.         All lines from the third to the third from the bottom are
  457.     a WINDOW into the file    you  are editing.  In the window you will
  458.     see a portion of the text  you    are editing.  The location of the
  459.     blinking cursor shows the position that editing  operations  will
  460.     be performed at.
  461.  
  462.         The second line  from  the  bottom  is    the MODE line and
  463.     shows you the current state of several options within  Sedt.  All
  464.     of these options are under your control.
  465.  
  466.             First,    you  will  see    either    "Fwd"  or  "Rev".
  467.         Several  commands  use    the status of this mode and  will
  468.         move  toward  the beginning of the text when the mode  is
  469.         "Rev"  and  toward  the  end of the text when the mode is
  470.         "Fwd".
  471.  
  472.             Secondly  you will see either "Ins" or "Rep".  In
  473.         "Ins" mode, which Sedt starts the  session  in,  all text
  474.         insertion will push the character at the  cursor  to  the
  475.         right to make room for the new character.  In  "Rep" mode
  476.         the  text you type will over-write the text previously on
  477.         the screen.
  478.  
  479.             The "Lin" or "Blk" display  show how text cut and
  480.         paste  operations  will be performed.    More  information
  481.         about this mode is given in the  section dealing with cut
  482.         and paste.
  483.  
  484.             "Tab:Exp"  or     "Tab:Ins"   shows  whether  Sedt
  485.         attempts to save  file    space by inserting horizontal tab
  486.         characters.  Sedt assumes  that  the terminal and printer
  487.         have  tab  stops  set  at    8     column  intervals.    In
  488.         "Tab:Exp"  mode, which is  the    state  Sedt  is  in  when
  489.         started,  it  does  not use  horizontal  tab  characters.
  490.         Several  replace  mode functions and cut  and  paste  may
  491.         return    undesired results when "Tab:Ins" is used.  It  is
  492.         recommended that you  keep  Sedt in "Tab:Exp" mode unless
  493.         you are an experienced user of Sedt.
  494.     
  495.             "Case:Off" or "Case:On" shows    whether  searches
  496.         are case  sensitive or not.  When "Case:Off" text will be
  497.         satisfy searches no  matter  what  case  any  letter has.
  498.         With "Case:On" only exact matches in upper and lower case
  499.         will satisfy a search.
  500.                 
  501.                         "Chr" or "Def" shows whether function definitions
  502.                 are inserted in  responses  to  prompts.    When "Chr" is
  503.                 displayed only characters created  by  keys are inserted.
  504.                 When "Def" is displayed pressing a key with an associated
  505.                 function  definition will cause the function  definitions
  506.                 to be inserted.
  507.         
  508.                         "Free" or  "Rest" shows how the cursor keys work.
  509.                 If "Free" is  displayed,  the cursor movement will always
  510.                 be directly in left,  right,  up  or  down.  If a line is
  511.                 shorter than the cursor position you are going to it will
  512.                 be extended with spaces.  When  "Rest"  is  displayed the
  513.                 left  and  right  arrows  will move forward  or  backward
  514.                 through the file and when an end or begginning of line is
  515.                 encountered  the  cursor  will change line.  Up and  down
  516.                 arrow  keys  will nover advance beyond the last character
  517.                 in a line.
  518.  
  519.             "Shift=" is followed by either    a  number  or the
  520.         text "Off".  When "Shift="  is    followed  by a number the
  521.         screen window will be shifted horizontally to ensure that
  522.         the  cursor  remains within the window.   As  the  cursor
  523.         advances  beyond  the  right-most position on the screen,
  524.         the  window  will  be displaced right to move the  cursor
  525.         back within the screen.  When the text "Off" is displayed
  526.         the leftmost  position    of  the window will correspond to
  527.         the leftmost position of the text.
  528.  
  529.         The next  field  is  blank  unless  keystrokes    are being
  530.         learned  or replayed.     When  learning  the  field  will
  531.         display  "Lrn".   When    replaying    it  will  display
  532.         "Exe".
  533.  
  534.         The  field  "Mod="  is    followed by the  numbers  of  the
  535.         editing buffers that contain unsaved changes.
  536.  
  537.     1.2            Moving the cursor
  538.  
  539.         The simplest commands to move the  cursor  are    the arrow
  540.     keys.
  541.  
  542.             The <Right arrow> key will advance  the cursor by
  543.         one character in the text.  As the cursor advances beyond
  544.         the last character on a line it moves to the start of the
  545.         next line.
  546.  
  547.             The  <Left arrow> key moves  a    single    character
  548.         toward the  start  of the text.  As the cursor moves past
  549.         the start of  a  line  it goes to the end of the previous
  550.         line.
  551.  
  552.             The <Up  arrow>  key  moves  straight up.  If the
  553.         cursor moves from a position that is further to the right
  554.         than the end of the previous line it will move to the end
  555.         of  it.   Sedt remembers the  column  that  a  series  of
  556.         vertical  arrow  commands  started  at    and will  try  to
  557.         position the cursor at the original column.
  558.  
  559.             <Down  arrow>  moves  the  cursor  straight down.
  560.         Just  as  with    <Up arrow> the cursor will  not  position
  561.         itself further right than the end of a line  of  text and
  562.         will try to position itself at the same column as  it was
  563.         at when a series of vertical arrow commands were started.
  564.  
  565.         The  arrow  keys  are  all  that you need to move to  any
  566.     location in the text.  On most systems you can hold the  key down
  567.     and  have  the    command repeated at a high rate.  Sedt can handle
  568.     very high  rates  of command input and cannot be harmed by having
  569.     commands repeated.
  570.  
  571.     1.3             Inserting Text
  572.  
  573.         Inserting text is  easy  with  Sedt.    Simply    place the
  574.     cursor where you want  the first character and type the text.  If
  575.     there are characters over or to the right of the cursor they will
  576.     be pushed to the right as  you    type.  To end a line of input and
  577.     continue on the next line simply type a <Return>.   You can enter
  578.     an arbitrary ASCII character by typing <Gold>, then  the  decimal
  579.     value of the character on the normal typewriter keyboard and then
  580.     <Gold> and finally <Keypad 3>.
  581.  
  582.     1.4              Deleting Text
  583.  
  584.         Text is easily deleted by moving the  cursor to the right
  585.     of the character you want to delete and  typing the <Delete> key.
  586.     If the cursor is  at  the  far left of a line it will be moved to
  587.     the end of the previous line.
  588.  
  589.     1.5               Saving your changes
  590.  
  591.         When you have finished your  changes  you  can    save them
  592.     and leave Sedt by typing two keys after one another:   <Gold> and
  593.     the F key.
  594.  
  595.         If you decide not to keep the changes you can type <Gold>
  596.     and Q.    If you have made any changes to  the  file  you  will  be
  597.     asked  for confirmation before    your  changes  are  thrown  away.
  598.     Answer the affirmative if you are sure you do not need them.
  599.  
  600.         If, for  some  reason such as a power failure, you cannot
  601.     complete an editing  session,  there is still hope.  Sedt will at
  602.     regular intervals save the file you are editing.  These saves are
  603.     only done if you have made changes to the file.
  604.  
  605.     1.6                 Summary
  606.  
  607.         With the commands  described in the tutorial you can make
  608.     any change you need!    Therein  lies  the beauty of Sedt.  It is
  609.     extremely easy to use, fast  and  reliable.    The  rest  of  the
  610.     commands extend Sedt by allowing you  to  perform  complex  tasks
  611.     with  a  few simple keystrokes.  The  Advanced    Guide  takes  you
  612.     through all these powerful features.
  613.  
  614.     1.7               Limitations
  615.  
  616.         Sedt uses  a combination of RAM memory and disk memory to
  617.     store the information  it  is  working    on.   This includes files
  618.     being edited, current key  definitions    and  text  that  has been
  619.     deleted.  If the total    amount    of  information exceeds available
  620.     memory Sedt will abort, but  will  leave  the a chekpoint file if
  621.     autosave  has  been in effect.     You  can  then  make  more  room
  622.     available and restart the edit session and  load  the  checkpoint
  623.     file.
  624.  
  625.         Sedt also has an internal limit which cannot be exceeded.
  626.     If  you crash because this limit has been exceeded and    you  have
  627.     been  editing  several    buffers,  you  may  be able to recover by
  628.     editing each file separately.
  629.  
  630.         The internal limits  are  20MB for the VMS and VAX ULTRIX
  631.     versions and 1MB for  all  other  versions.    These are defaults
  632.     which can be extended with the -s qualifier.
  633.     
  634.     Copyright (c) Anker Berg-Sonne, 1985-1990
  635.     Sedt Version 4.0 (271)
  636.  
  637.  
  638.                  Advanced Guide
  639.  
  640.     2.1              Introduction
  641.  
  642.         The Advanced Guide attempts to take you logically through
  643.     the  extremely rich command set of Sedt.  Even    though    care  has
  644.     been  taken  not to mention features without describing them, you
  645.     may find  that    you  have  to  cross-reference different sections
  646.     before you fully understand a feature.    The Reference section may
  647.     come in very useful for this purpose.
  648.  
  649.     2.2              Entering Sedt
  650.  
  651.         The complete syntax for calling Sedt is
  652.  
  653.     SEDT {<Input File> {-o<Output file>}} {<Option>... }
  654.  
  655.         The input file will be loaded into buffer number 0, which
  656.     is  the  editing  buffer  at  start-up.  If  an  output  file  is
  657.     specified,  buffer  0  will be saved into the specified  file  by
  658.     default.
  659.  
  660.         Options  change the behavior of  Sedt  for  the  complete
  661.     editing session. A complete list of options follows:
  662.  
  663.     2.2.1        -<Line Number>
  664.                 After initialization Sedt  will  position
  665.                 the  cursor  at the  start  of    the  line
  666.                 number    you provided.  This  function  is
  667.                 most useful for programmers that need  to
  668.                 go to a line number that the compiler has
  669.                 passed a syntax error message for.
  670.  
  671.     2.2.2        -a
  672.                 Turns  autosaves  on  for    the  editing
  673.                 session.    Autosaves  ensures that  your
  674.                 file  is  saved  at regular intervals  in
  675.                 case of a system crash.  Autosaved copies
  676.                 are stored in  files  with  the extension
  677.                 .AUS.
  678.  
  679.     2.2.3        -at
  680.                 Suppresses  Sedt's automatic  recognition
  681.                 of the system and  makes Sedt assume that
  682.                 it is  running    on  an IBM AT with the AT
  683.                 keyboard.  Use    this when the recognition
  684.                 code  fails  to  recognize    the  system
  685.                 properly.
  686.  
  687.     2.2.4        -b
  688.                 Suppresses the renaming  of  old versions
  689.                 when files are saved.     By  default Sedt
  690.                 will rename any existing file  to .BAK on
  691.                 the  MS-DOS  and  ATARI  versions  before
  692.                 writing the new version.  This allows you
  693.                 to recover  from  editing  sessions where
  694.                 you have accidentally corrupted the file.
  695.                 On VMS there is  no  need  for .BAK files
  696.                 since  VMS  supports multiple generations
  697.                 of files.  Normally -b is  used when disk
  698.                 space is too tight for both the  new file
  699.                 and the backup.
  700.  
  701.     2.2.5        -co
  702.                 Suppresses  Sedt's automatic  recognition
  703.                 of the system and  makes Sedt assume that
  704.                 it is running on  a  color  system.   Use
  705.                 this when the recognition code    fails  to
  706.                 recognize the system properly.
  707.  
  708.     2.2.6        -e
  709.                 Terminate all files written with an ASCII
  710.                 SUB character.    Some applications require
  711.                 a SUB character to recognize the  end  of
  712.                 data files.
  713.  
  714.     2.2.7        -edt
  715.                 Use the EDT layout with  physical mapping
  716.                 to the LK250 keyboard.      This    switch is
  717.                 not applicable to VMS.
  718.  
  719.     2.2.8        -ega
  720.                 Switch the display into  EGA 43 line mode
  721.                 during the session and switch  back  into
  722.                 25 line mode at the end.
  723.  
  724.     2.2.9        -f
  725.                 Disables full screen editing.  The cursor
  726.                 will always  be  placed  in the middle of
  727.                 the window and    text will move around it.
  728.                 In  full screen mode the cursor will move
  729.                 around    the   window  in  a  manner  that
  730.                 minimizes screen updates.
  731.  
  732.     2.2.10        -i<File Name>
  733.                 Read  internal    Sedt  commands    from  the
  734.                 given  file  after    initialization  and
  735.                 before accepting keyboard input.    Using
  736.                 the    -i    option   prevents    automatic
  737.                 execution  of  the default initialization
  738.                 file.
  739.  
  740.     2.2.11        -k
  741.                 Suppresses Sedt's  automatic  recognition
  742.                 of the keyboard  type  and  informs  Sedt
  743.                 that the system  uses  the  enhanced  IBM
  744.                 keyboard.
  745.     
  746.             -k<type>    
  747.                 Suppresses Sedt's  automatic  recognition
  748.                 of the keyboard  and  forces  Sedt to use
  749.                 <type> as the prefix for keyboard map and
  750.                 help files.
  751.  
  752.     2.2.12        -l<Size>
  753.                 Limits    the  main   memory  buffering  of
  754.                 information to <Size> bytes.  This option
  755.                 is  used  to ensure that enough memory is
  756.                 left  over  to    spawn    sub-processes  on
  757.                 MS-DOS    systems.    This  option  has  no
  758.                 effect        on      other    than    MS-DOS
  759.                 implementations.
  760.  
  761.     2.2.13        -m<Hex number>
  762.                 Changes the  video mode of Sedt under DOS
  763.                 to <Hex number>.    Sedt  understands the
  764.                 following video modes and sets the screen
  765.                 size and type as follows:
  766.     
  767.                 Mode    Color    Columns Lines
  768.     
  769.                 0    Color    40    25
  770.                 1    Color    40    25
  771.                 2    Color    80    25
  772.                 3    Color    80    25
  773.                 7    Mono    80    25
  774.     
  775.                 54    Color    132    43
  776.                 55    Color    132    25
  777.                 56    Mono    132    43
  778.                 57    Mono    132    25
  779.  
  780.     2.2.14        -mo
  781.                 Suppresses  Sedt's automatic  recognition
  782.                 of the system and  makes Sedt assume that
  783.                 it is  running    on  a  monochrome system.
  784.                 Use this when  the recognition code fails
  785.                 to recognize the system properly.
  786.  
  787.     2.2.15        -p<PID>
  788.                 Informs  Sedt  of the Process ID  of  the
  789.                 parent process.  This option is only used
  790.                 on the VMS version of Sedt and creates    a
  791.                 resident version  of  Sedt.  On exit Sedt
  792.                 will attach to    the  parent  process  and
  793.                 remain resident.  Upon    reattachment Sedt
  794.                 will continue the editing session.
  795.  
  796.     2.2.16        -pc
  797.                 Suppresses  Sedt's automatic  recognition
  798.                 of the system and  makes Sedt assume that
  799.                 it is running on an IBM PC with the PC or
  800.                 XT    keyboard.    Use    this  when    the
  801.                 recognition  code  fails to recognize the
  802.                 system properly.
  803.  
  804.     2.2.17        -r
  805.                 When you  supply  the  -r  qualifier  all
  806.                 files written to  disk will have the last
  807.                 line  terminated  with    an    ASCII    CR
  808.                 character.  Use this when you are writing
  809.                 or editing a file for an application that
  810.                 requires this.
  811.  
  812.     2.2.18        -rb
  813.                 Suppresses  Sedt's automatic  recognition
  814.                 of the system and  makes Sedt assume that
  815.                 it is running on a  Digital  Rainbow 100.
  816.                 Use this when the recognition code fails
  817.                 to recognize the system properly.
  818.  
  819.     2.2.19        -ro
  820.                 Set the  buffer  that  the file is loaded
  821.                 into in read only mode.
  822.     
  823.     2.2.20        -s<Size>
  824.                 Set the maximum amount of buffer space to
  825.                 <Size> megabytes.   The  buffer  space is
  826.                 used  to  contain  files   being  edited,
  827.                 delete     and  paste  buffers  plus    key
  828.                 definitions.
  829.  
  830.     2.2.21        -v
  831.                 On IBM  PCs  and  compatibles  Sedt  will
  832.                                 write directly to  video RAM.  The result
  833.                                 is a faster display  than  when the video
  834.                                 firmware  calls  are  used.      It  may,
  835.                                 however,  be incompatible with some video
  836.                                 adaptors.  The -v argument forces Sedt to
  837.                                 use BIOS calls for all screen output.
  838.  
  839.     2.2.22        -wi
  840.                 Use the window defined    by the upper left
  841.                 hand  corner  with  coordinates  XX,YY (0
  842.                 based) and dimensions HH,WW.
  843.     
  844.     2.2.23        -wps
  845.                 Use the WPS layout with physical  mapping
  846.                 to the LK250 keyboard.      This    switch is
  847.                 not applicable to VMS.
  848.  
  849.     2.2.24        -xt
  850.                 Suppresses  Sedt's automatic  recognition
  851.                 of the system and  makes Sedt assume that
  852.                 it is running on an IBM XT with the PC or
  853.                 XT  keyboard.       Use      this    when  the
  854.                 recognition code fails to  recognize  the
  855.                 system properly.
  856.  
  857.     2.3               Sedt's Data Files
  858.  
  859.         For Sedt to function properly it needs a  number  of data
  860.     files.      To  help organize the files Sedt uses  the  concept  of
  861.     libraries where the operating system supports such a facility.
  862.  
  863.         The files used by Sedt are:
  864.  
  865.             An optional  configuration file that sedt uses to
  866.             set  various  options.      The     name     of   the
  867.             configuration file is always SEDT.CNF.
  868.             
  869.             A  keyboard  map  file    that  determines  key  to
  870.             function mapping.
  871.  
  872.             A  function  definition  file  that  defines  all
  873.             predefined functions.  
  874.  
  875.             A Help file that can  displayed during an editing
  876.             session  to  assist the user in  remembering  the
  877.             programming of the keyboard.
  878.     
  879.             A file    containing  a  graphical  display  of the
  880.             keyboard commands.
  881.  
  882.             A  default  ruler file that is used  to  set  the
  883.             ruler at initialization time.
  884.  
  885.             A set of optional ruler files that can    be loaded
  886.             or saved during an editing session.
  887.  
  888.             An optional  command file that is executed during
  889.             Sedt  initialization  for  customization  of  the
  890.             editing interface.
  891.     
  892.         On  MS-DOS,  OS/2, ATARI ST, and UNIX the data files  are
  893.     located  through  a combination of the default directory, and the
  894.     environment variables SEDT, SEDTP, and PATH.    Key map, function
  895.     definition and help files are looked for  in the following order:
  896.     default  directory,  the  directory  that  SEDTP  points to,  the
  897.     directory  SEDT points to and finally in all directories  pointed
  898.     by PATH.    Ruler  files,  SEDTCOM.TXT,  SEDT.REM,  user supplied
  899.     initialization files are  looked  for  in  the    order:      default
  900.     directory, the directory SEDTP    points    to,  the  directory  SEDT
  901.     points to and finally in  all  directories  pointed  to  by PATH.
  902.     SEDT and SEDTP must be defined    as  a  single directory as in SET
  903.     SEDT=C:\SEDT\.      This    scheme    allow  a lot  of  flexibility  in
  904.     organizing  Sedt's  files.    On  single  user systems    the  most
  905.     efficient  is  to  define  SEDT  only.    On multiuser  systems  or
  906.     networks  SEDT    can  be set up to point at a  shared,  read  only
  907.     directory  and    SEDTP  at  a  private  writable directory that is
  908.     different for every user.  The easiest, but least efficient is to
  909.     install Sedt in a directory that is included in PATH.
  910.  
  911.         The names of the files    under MS-DOS, OS/2, ATARI ST, and
  912.     UNIX depend on the configuration.   This  facilitates  using SEDT
  913.     from a shared server directory with different PC models.
  914.  
  915.         The configuration file is always named SEDT.CNF.
  916.  
  917.         The function definition file names are:
  918.     
  919.             FUNDEF.EDT for EDT style editing
  920.             FUNDEF.WPS for WPS style editing
  921.     
  922.         Key mapping files are:
  923.     
  924.             For VMS:
  925.     
  926.                 VAX/VMS VT100    SEDT$VT1XXKEYS:
  927.                 VAX/VMS VT200    SEDT$VT2XXKEYS:
  928.     
  929.             For UNIX:
  930.  
  931.                 UNIX    VT100    vt100.key
  932.                 UNIX    VT200    vt200.key
  933.                 SCO XENIX
  934.                     console ansi.key
  935.     
  936.             On DOS, OS/2 and ATARI:
  937.  
  938.             System        Keyboard    File
  939.  
  940.             Rainbow     LK201        RBxxxM.yyy
  941.             IBM PC        IBM        PCxxxM.yyy
  942.             IBM PC/XT    IBM        PCxxxM.yyy
  943.             IBM PC/AT    IBM        ATxxxM.yyy
  944.             IBM CONVERTIBLE IBM        CVxxxM.yyy
  945.             PS/2        IBM        NPxxxM.yyy
  946.             ANY IBM PC    ENHANCED    NPxxxM.yyy
  947.             ANY IBM PC    LK250        LKxxxM.yyy
  948.             TANDY 1400 LT    TANDY        TCxxxM.yyy
  949.             Compaq SLT    Compact     SLTxxxM.yyy
  950.             ATARI ST            STxxxM.yyy
  951.     
  952.             Where xxx is  DOS  for    MS/DOS, WIN for Microsoft
  953.             Windows, OS2 for OS/2  and  TOS for ATARI TOS and
  954.             GEM.  yyy is EDT  for  EDT  style mapping and WPS
  955.             for WPS style mapping.
  956.     
  957.         The name of the help file is:
  958.     
  959.             HELP.EDT for EDT style editing
  960.             HELP.WPS for WPS style editing
  961.  
  962.         The names of the graphical keyboard display files are:
  963.  
  964.             System        Keyboard    File
  965.  
  966.             Rainbow     LK201        RBxxxH.yyy
  967.             IBM PC        IBM        PCxxxH.yyy
  968.             IBM PC/XT    IBM        PCxxxH.yyy
  969.             IBM PC/AT    IBM        ATxxxH.yyy
  970.             IBM CONVERTIBLE IBM        CVxxxH.yyy
  971.             PS/2        IBM        NPxxxH.yyy
  972.             ANY IBM PC    ENHANCED    NPxxxH.yyy
  973.             ANY IBM PC    LK250        LKxxxH.yyy
  974.             TANDY 1400 LT    TANDY        TCxxxH.yyy
  975.             Compaq SLT    Compact     SLTxxxH.yyy
  976.             VAX/VMS     VT100        SEDT$VT100HELP:
  977.             VAX/VMS     VT200        SEDT$VT200HELP:
  978.             ATARI ST            STxxxH.yyy
  979.             UNIX        VT100        vt100.hlp
  980.             UNIX        VT200        vt200.hlp
  981.             SCO XENIX    console     ansi.hlp
  982.  
  983.             Where xxx is  DOS  for    MS/DOS, WIN for Microsoft
  984.             Windows, OS2 for OS/2  and  TOS for ATARI TOS and
  985.             GEM.  yyy is EDT  for  EDT  style mapping and WPS
  986.             for WPS style mapping.
  987.  
  988.         The MS-DOS initialization file    is  named SEDTCOM.TXT and
  989.     must be located in the    directory  pointed  to by the environment
  990.     variable SEDT.
  991.  
  992.         On  VMS  the  ruler  files  are located in the    directory
  993.     pointed to by the logical name SEDT$DIR:.
  994.  
  995.         The  key definition files  are    located  by  the  logical
  996.     names:
  997.             System        Keyboard    File
  998.  
  999.             VAX/VMS     VT100        SEDT$VT100KEYS:
  1000.             VAX/VMS     VT200        SEDT$VT200KEYS:
  1001.  
  1002.         The  help definition files are    located  by  the  logical
  1003.     names:
  1004.             System        Keyboard    File
  1005.  
  1006.             VAX/VMS     VT100        SEDT$VT1XXHELP:
  1007.             VAX/VMS     VT200        SEDT$VT2XXHELP:
  1008.  
  1009.         The initialization command file is located by the logical
  1010.     name SEDT$COMMANDS:
  1011.  
  1012.         On the ATARI ST  under ATARI GEM all files must be in the
  1013.     current directory.
  1014.  
  1015.         On  the  ATARI ST under the Mark  Williams  C  shell  the
  1016.     library  for  all  data  files used by Sedt  is  defined  by  the
  1017.     environment  variable  SEDT.    The  contents  of the environment
  1018.     variable has  the  name of the data file appended to it to locate
  1019.     the data file.      If no environment variable is defined the files
  1020.     must  be  found  in  the  default  directory.     To  set  up  the
  1021.     environment use the SET command.   SETENV SEDT=C:\SEDT\ specifies
  1022.     that the files are found in the directory SEDT on drive C.
  1023.  
  1024.         The names are:
  1025.  
  1026.         Key mapping file:    STTOSM.yyy
  1027.         Key definition file:    FUNDEF.yyy
  1028.         Help file:        HELP.yyy
  1029.         Keyboard display file:    STTOSH.yyy
  1030.         Initialization file:    SEDTCOM.TXT
  1031.  
  1032.         Where yyy is EDT for EDT style mapping    and  WPS  for WPS
  1033.         style mapping.
  1034.  
  1035.         The names of the ruler files  are RULERn.TXT where n is a
  1036.     digit from 0 to 9.  RULER0.TXT    is  the  default ruler file.  The
  1037.     initialization command file is named SEDTCOM.TXT.
  1038.  
  1039.     2.3.1            Configuration File
  1040.  
  1041.         The configuration file, SEDT.CNF, is an  ASCII    data file
  1042.     containing one-line commands.  Valid commands are:
  1043.  
  1044.     2.3.1.1     AUTOSAVE=ON (Default)
  1045.  
  1046.                 After any  change  to  a buffer Sedt will
  1047.                 count the keystrokes  made  while editing
  1048.                 the  buffer.    After  180  keystrokes    a
  1049.                 warning will be displayed on the bottom
  1050.                 line.    If the File has  not  been  saved
  1051.                 after    200  keystrokes,  Sedt    saves  it
  1052.                 automatically  in  a  file  in    the  same
  1053.                 directory  as the file being edited,  but
  1054.                 with  the  extension .AUS.  The autosaved
  1055.                 version is automatically deleted when the
  1056.                 file is properly  saved.  If an autosaved
  1057.                 file is found when  a  file is loaded you
  1058.                 will be asked whether you  want  to  load
  1059.                 the autosave instead.  If you provide the
  1060.                 wrong  answer to this question reload the
  1061.                 file.
  1062.  
  1063.             AUTOSAVE=n,m
  1064.  
  1065.                 Will  autosave    after  n  keystrokes  and
  1066.                 display the warning  m    keystrokes before
  1067.                 the autosave is due.
  1068.  
  1069.             AUTOSAVE=OFF
  1070.  
  1071.                 Autosaving is disabled.
  1072.  
  1073.     2.3.1.2     BACKUPFILE=ON (Default)
  1074.  
  1075.                 Causes    Sedt  to  ensure  that    a  backup
  1076.                 version of all files are kept.
  1077.  
  1078.             BACKUPFILE=OFF
  1079.  
  1080.                 Causes Sedt to not create backup versions
  1081.                 of saved files.
  1082.     
  1083.     2.3.1.3     BUFFERING=EMS (default)
  1084.     
  1085.                 On  MS-DOS files  being  edited  will  be
  1086.                 buffered in EMS memory before overflowing
  1087.                 to free DOS memory and disk.
  1088.     
  1089.             BUFFERING=NOEMS
  1090.     
  1091.                 EMS memory will not be used for buffering
  1092.                 of files.
  1093.     
  1094.             BUFFERING=FREE (default)
  1095.     
  1096.                 On  MS-DOS  files  being  edited will  be
  1097.                 buffered    in    free  DOS  memory  before
  1098.                 overflowing to disk.  You may not be able
  1099.                 to spawn to  DOS when editing large files
  1100.                 when this option is set.
  1101.     
  1102.             BUFFERING=NOFREE
  1103.     
  1104.                 Free  DOS memory will  not  be    used  for
  1105.                 buffering of files.  This  preserves  the
  1106.                 ability  to  spawn out of Sedt,  but  may
  1107.                 impact performance.
  1108.     
  1109.     2.3.1.4     COLUMN=DISPLAYED (Default, except VMS and ULTRIX)
  1110.  
  1111.                 Enables continuous display of the current
  1112.                 cursor    column on the banner line.   This
  1113.                 is the default on all versions other than
  1114.                 VMS and  ULTRIX.  Enabling this option on
  1115.                 VMS and ULTRIX    may  have  a  significant
  1116.                 impact on performance across a network.
  1117.  
  1118.             COLUMN=OFF (Default for VMS and ULTRIX)
  1119.  
  1120.                 Disables   continuous  display    of    the
  1121.                 current cursor column on the banner line.
  1122.                 This is the default on VMS and ULTRIX.
  1123.  
  1124.     2.3.1.5     CONTEXT=SAVED
  1125.  
  1126.                 Save the editing context when a  file  is
  1127.                 saved.       The    context,  containing  the
  1128.                 current  position,  all   marks  and  the
  1129.                 current ruler are saved  in  a    file with
  1130.                 the  same  file  name and  the    extension
  1131.                 .CTX.  When Sedt edits a  file,  and this
  1132.                 option is set, it will look for  the file
  1133.                 .CTX and restore the context.  The result
  1134.                 is  that when a file is edited again  the
  1135.                 cursor and  marks  from the previous edit
  1136.                 session will be restored.
  1137.  
  1138.                 If  you  have  two   files  in    the  same
  1139.                 directory  with identical filenames, they
  1140.                 will  default to the same .CTX    file  and
  1141.                 the  .CTX file may be overwritten by  the
  1142.                 .CTX   file  for  the  other  file.    To
  1143.                 safeguard against  loading the wrong file
  1144.                 Sedt will verify  that    a  file  and it's
  1145.                 corresponding  .CTX  file match.    If    a
  1146.                 mismatch  is  found the message  "Context
  1147.                 file does not match input file"  will  be
  1148.                 issued.
  1149.  
  1150.             CONTEXT=FORGOTTEN (Default)
  1151.  
  1152.                 To  not  perform  the  actions    described
  1153.                 under CONTEXT=SAVED.
  1154.  
  1155.             CONTEXT=CHECK
  1156.  
  1157.                 Do  not    save  a  context  (.CTX)  file
  1158.                 automatically, but check for the presence
  1159.                 of one when loading  a file and use it of
  1160.                 it is found.
  1161.  
  1162.     2.3.1.6     CONTROLZ=ON
  1163.  
  1164.                 Causes    Sedt  to  terminate  all    files
  1165.                 written with a control Z (EOT) character.
  1166.  
  1167.             CONTROLZ=OFF (Default)
  1168.  
  1169.                 Causes      Sedt    to  not  terminate  files
  1170.                 written with a control Z (EOT) character.
  1171.         
  1172.         2.3.1.7         CURSOR=FREE
  1173.         
  1174.                                 The cursor can move freely on the screen.
  1175.                                 Lines  will  be  padded  to   the  cursor
  1176.                                 position.
  1177.         
  1178.                         CURSOR=RESTRICTED (Default)
  1179.         
  1180.                                 The  cursor  can  only move to  positions
  1181.                                 within the file.
  1182.  
  1183.     2.3.1.8     CURSORLINE=FIXED
  1184.  
  1185.                 Causes    Sedt  to  keep the cursor on  the
  1186.                 middle    line  of the editing window.  The
  1187.                 benefit is  ease  of  finding the current
  1188.                 position and always  being  able  to  see
  1189.                 several lines above and below the cursor.
  1190.  
  1191.             CURSORLINE=FLOATING (Default)
  1192.  
  1193.                 Causes Sedt to float  the  cursor through
  1194.                 the editing window.  The benefit is fewer
  1195.                 screen scrolls.
  1196.         
  1197.         2.3.1.9         DEFINITIONS=ON
  1198.  
  1199.                                 When  a  key  with an associated function
  1200.                                 definition  is  pressed  in response to a
  1201.                                 prompt the definition will be inserted.
  1202.         
  1203.                         DEFINITIONS=OFF (Default)
  1204.         
  1205.                                 When a  key  with  an associated function
  1206.                                 definition is pressed  in  response  to a
  1207.                                 prompt the character associated  with the
  1208.                                 key is inserted.
  1209.     
  1210.     2.3.1.10    DIALOG=ON
  1211.     
  1212.                 Windows and  GEM versions will use dialog
  1213.                 boxes  to prompt  for  input  instead  of
  1214.                 using the bottom line of the display.
  1215.     
  1216.             DIALOG=OFF
  1217.     
  1218.                 Windows  and GEM versions  will  use  the
  1219.                 bottom line of the display  to prompt for
  1220.                 input.
  1221.  
  1222.     2.3.1.11    EGA43=ON
  1223.  
  1224.                 Causes Sedt to switch the display into 43
  1225.                 line  mode.  Unpredictable results can be
  1226.                 expected on other than EGA displays.
  1227.  
  1228.             EGA43=OFF (Default)
  1229.  
  1230.                 Turns off 43 line mode.
  1231.  
  1232.     2.3.1.12    FONTSIZE=<number>
  1233.  
  1234.                 Causes Sedt  to default to a font that is
  1235.                 close to <number> pixels high.
  1236.  
  1237.     2.3.1.13    GOLD=<number>
  1238.  
  1239.                 Causes Sedt to    use function key <number>
  1240.                 as the gold key.
  1241.  
  1242.     2.3.1.14    JOURNALING
  1243.  
  1244.                 Has  no  effect in the current version of
  1245.                 Sedt and exists only for historic reasons.
  1246.  
  1247.     2.3.1.15    KEYBOARD=STANDARD
  1248.  
  1249.                 Forces Sedt  to  assume  that  the system
  1250.                 uses the original PC and XT keyboard.
  1251.  
  1252.             KEYBOARD=LK250
  1253.  
  1254.                 Forces Sedt to assume that the system has
  1255.                 an LK250 keyboard attached.
  1256.  
  1257.             KEYBOARD=NEW
  1258.             KEYBOARD=ENHANCED
  1259.  
  1260.                 Forces Sedt to assume that the system has
  1261.                 the new style IBM keyboard attached.
  1262.  
  1263.             KEYBOARD=CONVERTIBLE
  1264.  
  1265.                 Forces Sedt to assume that the system has
  1266.                 an  IBM  keyboard   convertible  keyboard
  1267.                 attached.
  1268.     
  1269.             KEYBOARD=AT
  1270.     
  1271.                 Forces    Sedt  to  assume that the  system
  1272.                 uses an original AT style keyboard.
  1273.     
  1274.             KEYBOARD=SLT
  1275.     
  1276.                 Forces    Sedt to assume    that  the  system
  1277.                 uses a Compaq SLT keyboard.
  1278.     
  1279.             KEYBOARD=<type>
  1280.     
  1281.                 Forces Sedt to use <type>  as  the prefix
  1282.                 for keyboard map and help files.
  1283.     
  1284.     2.3.1.16    KEYPROG=ON (Default)
  1285.     
  1286.                 Normal typewriter keys will behave as any
  1287.                 other key when    programmed.    If the key
  1288.                 has  not  been programmed  the    key  will
  1289.                 insert the ASCII character bound  to  the
  1290.                 key.
  1291.  
  1292.             KEYPROG=OFF
  1293.     
  1294.                 When a    normal    typewriter key is pressed
  1295.                 the ascii character  bound  to it will be
  1296.                 inserted  even    if  the    key    has  been
  1297.                 programmed.   Getting at the  programming
  1298.                 for  a    typewriter  key  must  be    done
  1299.                 indirectly through the :EK command.
  1300.     
  1301.     2.3.1.17    MAPPING=EDT (Default)
  1302.  
  1303.                 Use  .EDT    extensions    on    key  map,
  1304.                 definition and help  files  and  map  the
  1305.                 keys physically as close  as  possibly to
  1306.                 the LK250 keyboard.
  1307.  
  1308.             MAPPING=WPS
  1309.  
  1310.                 Use    .WPS   extensions  on  key    map,
  1311.                 definition  and  help  files and map  the
  1312.                 keys  physically  as close as possibly to
  1313.                 the LK250 keyboard.
  1314.  
  1315.     2.3.1.18    MAXSCROLL=<Number>
  1316.  
  1317.                 Limits    scrolling  during cursor movement
  1318.                 to <Number> lines.
  1319.  
  1320.     2.3.1.19    MODE=<Hex Number>
  1321.  
  1322.                 Use  video  mode  <Hex    Number>  on    PC
  1323.                 compatible systems.
  1324.  
  1325.                 Mode    Color    Columns Lines
  1326.     
  1327.                 0    Color    40    25
  1328.                 1    Color    40    25
  1329.                 2    Color    80    25
  1330.                 3    Color    80    25
  1331.                 7    Mono    80    25
  1332.     
  1333.                 54    Color    132    43
  1334.                 55    Color    132    25
  1335.                 56    Mono    132    43
  1336.                 57    Mono    132    25
  1337.  
  1338.     2.3.1.20    MOUSE=ENABLED (Default)
  1339.  
  1340.                 Enabled use of the mouse from Sedt.  Sedt
  1341.                 will  try  to  detect  the  presence of a
  1342.                 mouse  and  enable  the  use of the mouse
  1343.                 cursor.
  1344.  
  1345.             MOUSE=DISABLED
  1346.  
  1347.                 Sedt will  not    use a mouse even if it is
  1348.                 present.
  1349.  
  1350.     2.3.1.21    NUMLOCK=SET  (Default  if the  Num  Lock  key  is
  1351.                 mapped by the keyboard map file)
  1352.     
  1353.                 Saves  the  Num Lock state when  Sedt  is
  1354.                 entered and then  sets    it.  On exit from
  1355.                 Sed the Num Lock state is retored.
  1356.     
  1357.             NUMLOCK=CLEARED
  1358.     
  1359.                 Saves  the  Num  Lock  state when Sedt is
  1360.                 entered and then clears it.  On exit from
  1361.                 Sedt the Num Lock state is restored.
  1362.  
  1363.     2.3.1.22    PALETTE=<hex string>
  1364.  
  1365.                 Causes    Sedt to use the characters  given
  1366.                 in  <hex  string> as it's palette.   Each
  1367.                 pair  of    hex   digits  determines  the
  1368.                 attribute character as    defined  for  the
  1369.                 IBM Color Graphics Adapter.  The position
  1370.                 of  the  pair  defines    the  use  of  the
  1371.                 attribute character:  (Sedt only uses the
  1372.                 REVERSE and BOLD attributes).
  1373.  
  1374.                 NORMAL
  1375.                 BOLD
  1376.                 BLINK
  1377.                 BOLD BLINK
  1378.                 UNDERLINE
  1379.                 BOLD UNDERLINE
  1380.                 BLINK UNDERLINE
  1381.                 BOLD BLINK UNDERLINE
  1382.                 REVERSE
  1383.                 BOLD REVERSE
  1384.                 BLINK REVERSE
  1385.                 BOLD BLINK REVERSE
  1386.                 UNDERLINE REVERSE
  1387.                 BOLD UNDERLINE REVERSE
  1388.                 BLINK UNDERLINE REVERSE
  1389.                 BOLD BLINK UNDERLINE REVERSE
  1390.  
  1391.     2.3.1.23    REMEMBER=ON
  1392.  
  1393.                 Remember the filename  that Sedt last was
  1394.                 called with and use  this  filename  when
  1395.                 Sedt    is   called  without  any    file
  1396.                 arguments.
  1397.  
  1398.             REMEMBER=OFF (Default)
  1399.  
  1400.                 Do not    load any file when Sedt is called
  1401.                 without any file arguments.
  1402.  
  1403.     2.3.1.24    RETURN=ON
  1404.  
  1405.                 Causes Sedt to ensure that the last  line
  1406.                 of saved files is terminates with a CR/LF
  1407.                 pair.
  1408.  
  1409.             RETURN=OFF (Default)
  1410.  
  1411.                 Causes Sedt to not append a CR/LF pair to
  1412.                 the last line of saved files.
  1413.  
  1414.     2.3.1.25    RULER=ON (Default)
  1415.  
  1416.                 The current ruler  will  be  displayed at
  1417.                 the top of the window.
  1418.  
  1419.             RULER=OFF
  1420.  
  1421.                 No ruler will displayed unless Sedt is in
  1422.                 ruler definition mode.
  1423.  
  1424.     2.3.1.26    SCREEN=COLOR
  1425.  
  1426.                 Forces     Sedt  to  use    color     graphics
  1427.                 firmware calls.
  1428.  
  1429.             SCREEN=MONO
  1430.  
  1431.                 Forces    Sedt  to  use monochrome firmware
  1432.                 calls.
  1433.  
  1434.     2.3.1.27           SCREENSHIFT=ON (Default)
  1435.  
  1436.                 Enables horizontal shifting of the screen
  1437.                 to  keep  the cursor position  on-screen.
  1438.                 The screen is shifted a half-screen  at a
  1439.                 time.
  1440.  
  1441.             SCREENSHIFT=OFF
  1442.  
  1443.                 Disables  horizontal    shifting  of  the
  1444.                 screen.
  1445.     
  1446.             SCREENSHIFT=<decimal number>
  1447.     
  1448.                 Enables horizontal shifting of the screen
  1449.                 to keep the  cursor  position  on-screen.
  1450.                 The  number  of characters  shifted  each
  1451.                 time is given by <deciman number>.
  1452.                 
  1453.     2.3.1.28    SHAREMESSAGE=ON (Default)
  1454.     
  1455.                 When  exiting,     Sedt  prints  a  message
  1456.                 informing  the    operator  that    it  is    a
  1457.                 shareware program.
  1458.     
  1459.             SHAREMESSAGE=OFF
  1460.     
  1461.                 Suppresses the shareware message on exit.
  1462.  
  1463.     2.3.1.29    SYSTEM=IBMPC
  1464.  
  1465.                 Forces Sedt to    assume    that it's running
  1466.                 on an IBM PC or compatible.
  1467.  
  1468.             SYSTEM=IBMXT
  1469.  
  1470.                 Forces Sedt to assume  that  it's running
  1471.                 on an IBM PC/XT or compatible.
  1472.  
  1473.             SYSTEM=IBMAT
  1474.  
  1475.                 Forces Sedt to assume that  it's  running
  1476.                 on an IBM PC/AT or compatible.
  1477.  
  1478.             SYSTEM=VAXMATE
  1479.  
  1480.                 Forces    Sedt to assume that it's  running
  1481.                 on a Digital VAXmate.
  1482.  
  1483.             SYSTEM=PC100
  1484.  
  1485.                 Forces    Sedt  to assume that it's running
  1486.                 on a Digital Rainbow 100.
  1487.  
  1488.             SYSTEM=IBMCONVERTIBLE
  1489.  
  1490.                 Forces    Sedt  to assume that it's running
  1491.                 on an IBM Convertible.
  1492.  
  1493.             SYSTEM=IBMAT-339
  1494.  
  1495.                 Forces Sedt  to  assume that it's running
  1496.                 on an IBM PC AT model 339.
  1497.  
  1498.             SYSTEM=IBMXT-286
  1499.  
  1500.                 Forces Sedt to    assume    that it's running
  1501.                 on an IBM PC XT model 286.
  1502.  
  1503.             SYSTEM=PS/2-50
  1504.  
  1505.                 Forces Sedt to assume  that  it's running
  1506.                 on an IBM PS/2 model 50.
  1507.  
  1508.             SYSTEM=PS/2-60
  1509.  
  1510.                 Forces Sedt to assume that  it's  running
  1511.                 on an IBM PS/2 model 60.
  1512.  
  1513.             SYSTEM=IBMXT-II
  1514.  
  1515.                 Forces    Sedt to assume that it's  running
  1516.                 on an IBM XT with new firmware.
  1517.  
  1518.             SYSTEM=PS/2-30
  1519.  
  1520.                 Forces    Sedt  to assume that it's running
  1521.                 on an IBM PS/2 model 30.
  1522.  
  1523.             SYSTEM=PS/2-80
  1524.  
  1525.                 Forces    Sedt  to assume that it's running
  1526.                 on an IBM PS/2 model 80.
  1527.  
  1528.             SYSTEM=TANDY1400
  1529.  
  1530.                 Forces    Sedt  to assume that it's running
  1531.                 on a TANDY 1400 LT laptop computer.
  1532.     
  1533.             SYSTEM=VT100
  1534.             SYSTEM=VT200
  1535.             SYSTEM=VT300
  1536.             SYSTEM=VT52
  1537.             SYSTEM=VK100
  1538.             SYSTEM=ANSI
  1539.     
  1540.                 Forces Sedt  to  assume  it  is being run
  1541.                 from the specified terminal type.
  1542.  
  1543.     2.3.1.30    TABS=EXPANDED (Default)
  1544.  
  1545.                 Causes Sedt  to  use  space characters to
  1546.                 space to tab stops and indentation.
  1547.  
  1548.             TABS=INSERTED
  1549.  
  1550.                 Cases  Sedt  to    use      space  and  tab
  1551.                 characters  to    space to  tab  stops  and
  1552.                 indentation.
  1553.  
  1554.     2.3.1.31    VIDEO=BIOS
  1555.  
  1556.                 Makes  Sedt  use  BIOS    calls  for  video
  1557.                 control on IBM PCs and compatibles.
  1558.  
  1559.             VIDEO=DIRECT (Default)
  1560.  
  1561.                 Makes  Sedt access video RAM directly  on
  1562.                 IBM PCs and compatibles.
  1563.  
  1564.  
  1565.     2.4             Initialization
  1566.  
  1567.         The initialization sequence for Sedt will  go through the
  1568.     following steps:
  1569.  
  1570.             First the configuration file SEDT.CNF  in  Sedt's
  1571.         library is read and Sedt is  configured  as  described in
  1572.         the file.
  1573.  
  1574.             Then a    default  ruler    file  is read from Sedt's
  1575.         library.    The   name    of  the  default  ruler  file  is
  1576.         RULER0.TXT.
  1577.     
  1578.         On  DOS,  OS/2,  Microsoft  Windows  and  ATARI ST a  key
  1579.         mapping file is read next.  This file translates keyboard
  1580.         scan codes into function key codes. The file names are:
  1581.  
  1582.             System        Keyboard    File
  1583.  
  1584.             Rainbow     LK201        RBxxxM.yyy
  1585.             IBM PC        IBM        PCxxxM.yyy
  1586.             IBM PC/XT    IBM        PCxxxM.yyy
  1587.             IBM PC/AT    IBM        ATxxxM.yyy
  1588.             IBM CONVERTIBLE IBM        CVxxxM.yyy
  1589.             PS/2        IBM        NPxxxM.yyy
  1590.             ANY IBM PC    ENHANCED    NPxxxM.yyy
  1591.             ANY IBM PC    LK250        LKxxxM.yyy
  1592.             TANDY 1400 LT    TANDY        TCxxxM.yyy
  1593.             Compaq SLT    Compact     SLTxxxM.yyy
  1594.             ATARI ST            STxxxM.yyy
  1595.     
  1596.             Where yyy  is  EDT  for EDT style mapping and WPS
  1597.         for WPS style mapping.
  1598.     
  1599.             Next, the key definition file is read from Sedt's
  1600.         library.   The name of the key definition file depends on
  1601.         the system that Sedt is run on:
  1602.  
  1603.             System        Keyboard    File
  1604.  
  1605.             MS/DOS                KEYDEF.yyy
  1606.             Microsoft Windows        KEYDEF.yyy
  1607.             OS/2                KEYDEF.yyy
  1608.             ATARI ST            KEYDEF.yyy
  1609.             VAX        VT100        SEDT$VT100KEYS:
  1610.             VAX        VT200        SEDT$VT200KEYS:
  1611.             UNIX        VT100        vt100.key
  1612.             UNIX        VT200        vt200.key
  1613.             SCO XENIX    console     ansi.key
  1614.  
  1615.             Where yyy  is  EDT  for EDT style mapping and WPS
  1616.         for WPS style mapping.
  1617.     
  1618.             Next Sedt will position the cursor  at    the  line
  1619.         number requested in the command  line if a -<line number>
  1620.         qualifier was supplied.
  1621.  
  1622.             Then Sedt  will look in Sedt's library for a file
  1623.         containing initialization commands  for the editor.  If a
  1624.         file  is  found it's  contents    will  be  interpreted  as
  1625.         internal Sedt commands.  The  name  of the file is system
  1626.         dependent:
  1627.  
  1628.             System        File
  1629.  
  1630.             Rainbow     SEDTCOM.TXT
  1631.             IBM PC        SEDTCOM.TXT
  1632.             IBM PC/XT    SEDTCOM.TXT
  1633.             IBM PC/AT    SEDTCOM.TXT
  1634.             IBM CONVERTIBLE SEDTCOM.TXT
  1635.             PS/2        SEDTCOM.TXT
  1636.             VAX        SEDT$COMMANDS:
  1637.             VAX        SEDT$COMMANDS:
  1638.             ATARI ST    SEDTCOM.TXT
  1639.             UNIX        SEDTCOM.TXT
  1640.  
  1641.             Finally, Sedt  will look for a checkpoint file in
  1642.         the same directory  as    the file you are editing and with
  1643.         the same name except  for  the extension .AUS.    If one is
  1644.         found, Sedt will ask you whether you  want  to    load  the
  1645.         checkpoint file instead.
  1646.  
  1647.     2.5              Setting up the ruler
  1648.  
  1649.         Sedt offers  several options for formatting the text that
  1650.     you input.   The  current formatting options are displayed on the
  1651.     ruler line on the second line of the display.
  1652.  
  1653.         The initial contents of  the  ruler line are defined by a
  1654.     file in the standard directory for Sedt.   When Sedt is called it
  1655.     reads the contents of the file RULER0.TXT and  loads the contents
  1656.     into the ruler.
  1657.  
  1658.         You can change the ruler either by loading a  ruler  file
  1659.     or by changing it interactively.   Most ruler changes are done by
  1660.     entering RULER MODE by typing <Gold> R, which takes the cursor up
  1661.     into the ruler line.  When you have  finished  changing the ruler
  1662.     type <Return>, which will take you back to normal editing mode.
  1663.  
  1664.         The following commands are valid in ruler mode:
  1665.  
  1666.         <Right Arrow>    Moves the cursor one column to the right.
  1667.  
  1668.         <Left Arrow>    Moves the cursor one column to the left.
  1669.  
  1670.         <Gold> <Digit>    Saves  the  current    ruler   in  Sedt's
  1671.                 standard    directory  in  a  file  named
  1672.                 RULER<Digit>.TXT.
  1673.  
  1674.         <Digit>     Loads  a saved ruler from Sedt's standard
  1675.                 directory    in        a    file    named
  1676.                 RULER<Digit>.TXT.
  1677.  
  1678.         <Control> H
  1679.                 Moves the  cursor  to column one.
  1680.  
  1681.         <Tab>        Moves  the cursor to the  next    non-blank
  1682.                 position on the ruler.
  1683.  
  1684.         <Return>    Exits ruler mode.
  1685.  
  1686.         <Space>     Clears any ruler controls at the  current
  1687.                 cursor position.
  1688.  
  1689.         L        Sets  the  left  margin  at  the  current
  1690.                 cursor    position.
  1691.  
  1692.                 When  a  <Return>  is entered the  cursor
  1693.                 will be indented to the left margin.
  1694.  
  1695.         W        Sets the word wrap  at the current cursor
  1696.                 position.
  1697.  
  1698.                 When input is typed to the right  of  the
  1699.                 right margin or the justification column,
  1700.                 the input will be wrapped and indented to
  1701.                 the  word wrap column or automatic margin
  1702.                 column.
  1703.  
  1704.         R        Sets  the  right  margin at  the  current
  1705.                 cursor position.
  1706.  
  1707.                 If any input is typed to the right of the
  1708.                 right margin the text will be wrapped and
  1709.                 indented  to  the  word  wrap  column  or
  1710.                 automatic margin column.
  1711.  
  1712.         J        Sets  the  justification  column  at  the
  1713.                 current cursor position.
  1714.  
  1715.                 If any input is typed to the right of the
  1716.                 justification  column,    the  text will be
  1717.                 justified by  having  the spacing between
  1718.                 words  on  the     line  modified  until    a
  1719.                 straight    right    margin    at     the
  1720.                 justification  column  is achieved.   Any
  1721.                 text  that cannot fit on the current line
  1722.                 is wrapped  to the next line and indented
  1723.                 to the word  wrap column or the automatic
  1724.                 margin column.
  1725.  
  1726.         I        Sets the indentation level at the current
  1727.                 cursor position.
  1728.  
  1729.                 If a <Tab> is  entered to the left of the
  1730.                 indentation  column,  the cursor will  be
  1731.                 advanced  to the indentation column.
  1732.  
  1733.         T        Sets  a  tab  stop  at the current cursor
  1734.                 position.   Tab  stops can only be set up
  1735.                 to  column  232,  they    are  fixed  at    8
  1736.                 character intervals beyond that.
  1737.  
  1738.                 If a <Tab> is entered to  the  left  of a
  1739.                 tab  stop the cursor will be advanced  to
  1740.                 the tab stop.
  1741.  
  1742.         A        Sets the  automatic margin at the current
  1743.                 cursor position.
  1744.  
  1745.                 When  text  is    wrapped  by typing to the
  1746.                 right     of  the    right    margin    or
  1747.                 justification  column, or a  <Return>  is
  1748.                 typed and the automatic margin is active,
  1749.                 the cursor will be advanced to    the  same
  1750.                 column    as    the    leftmost    printable
  1751.                 character on the  line    the cursor was on
  1752.                 before    the  character was  typed.    The
  1753.                 automatic  margin will also be    moved  to
  1754.                 this  position.    This  feature is  most
  1755.                 useful for structured programming.
  1756.  
  1757.         -        Clears tab stops  at  the  current cursor
  1758.                 position.
  1759.  
  1760.         Some  of  the tab controls  are  mutually  exclusive  and
  1761.     setting one of these will automatically cancel those options that
  1762.     it excludes. The following options are mutually exclusive:
  1763.  
  1764.         A and W
  1765.  
  1766.         R and J
  1767.  
  1768.         If several option are set at the  same    column    the ruler
  1769.     will only display one of them.
  1770.  
  1771.         To cancel an option  other  than  T,  place the cursor on
  1772.     column 1 and type the option.  The only exception to this rule is
  1773.     A.  This can only be canceled by typing R in any position.
  1774.  
  1775.         Saved rulers allow you to  set    up  to 10 different ruler
  1776.     settings according to your preference.     You can change the ruler
  1777.     that Sedt  loads  after start-up by saving the setting you desire
  1778.     in ruler number 0.
  1779.  
  1780.     Example rulers:
  1781.  
  1782.         A    T    T    T    T ...
  1783.  
  1784.             This ruler  is    most  convenient  for  structured
  1785.         programming.  Every  time  a  return is entered Sedt will
  1786.         indent to the left  margin  of    the line just terminated.
  1787.  
  1788.         W    L    T    T    R ...
  1789.  
  1790.             Every time a return is entered the cursor will be
  1791.         indented to the position of the  L  on    the  ruler  line.
  1792.         When text is typed to the right  of  R    the  line will be
  1793.         wrapped to the left margin.
  1794.  
  1795.         I    L    W    T    J ...
  1796.  
  1797.             This ruler will cause text to be filled between W
  1798.         and  J.    When  a return is entered the cursor  will  be
  1799.         indented to the L.
  1800.  
  1801.     2.6              Options/Modes
  1802.  
  1803.         The bottom line of the display shows the state of several
  1804.     options that affect  how Sedt commands work.  Each of these has a
  1805.     default state.
  1806.  
  1807.     Forward/Reverse (default:Forward)
  1808.  
  1809.             Most cursor commands move  in the direction shown
  1810.         by the direction state.
  1811.  
  1812.             To  change the direction state type <Keypad 4> or
  1813.         <Keypad 5>.
  1814.  
  1815.     Insert/Overstrike (default:Insert)
  1816.  
  1817.             When  text is inserted in insert mode  it  pushes
  1818.         any characters at or to the right of  the  cursor  to the
  1819.         right  to  make  room  for the text being inserted.    In
  1820.         replace mode text  originally  at  the cursor position is
  1821.         overwritten.
  1822.  
  1823.             To change the state between insert and overstrike
  1824.         modes type <Gold> O.
  1825.  
  1826.     Line/Block (Default:Line)
  1827.  
  1828.             This  state  only  has    effect    when  cutting  or
  1829.         pasting text.
  1830.  
  1831.             In line mode  a  cut will remove all text between
  1832.         the select point and  the  cursor  position,  and a paste
  1833.         will  insert the contents of  the  paste  buffer  at  the
  1834.         cursor position.
  1835.  
  1836.             In block mode a cut will remove the  rectangle of
  1837.         text defined by the select point and the cursor  position
  1838.         and a paste will push all text from the cursor    column to
  1839.         the  right  to    make  room  for the contents of the paste
  1840.         buffer.
  1841.  
  1842.             To change between line and block mode type <Gold>
  1843.         L.
  1844.  
  1845.     Tabs:Expanded/Tabs:Inserted (Default:Tabs:Expanded)
  1846.  
  1847.             When tabs are expanded Sedt will always use ASCII
  1848.         Space characters to indent text.  When tabs  are inserted
  1849.         Sedt  will  use  ASCII    HT and Space characters.   It  is
  1850.         recommended that the state be left as tabs expanded.
  1851.  
  1852.             To change the tab mode type <Gold> I.
  1853.  
  1854.     Screen Shift=<Number>/Screen Shift=Off (Default:Screen Shift=0)
  1855.  
  1856.             If screen shift is  off  the  leftmost    character
  1857.         position  on the screen will  always  correspond  to  the
  1858.         first column of the text file.
  1859.  
  1860.             If screen shift shows a number,  Sedt  will  keep
  1861.         the  cursor  within  the visible screen by  shifting  the
  1862.         screen    horizontally through the file.    The number  shown
  1863.         is  the  number  of  columns  hidden to the left  of  the
  1864.         screen. This process is totally automatic.
  1865.  
  1866.             To change the screen shift mode type <Gold> A.
  1867.  
  1868.     Learning/Executing
  1869.  
  1870.             The Learning  mode  indicator  shows that Sedt is
  1871.         storing all keyboard input for later reexecution.
  1872.  
  1873.             <Gold> F17>  will  store  learned keystrokes into
  1874.         ^B.   Terminate  learning  by  typing  ^B.    The  stored
  1875.         keystrokes are executed by typing ^B again.
  1876.  
  1877.             <Gold>    <F18> will prompt  for    a  key    to  store
  1878.         keystrokes in and then store  subsequent keystrokes until
  1879.         the same key is typed.     To execute the stored keystrokes
  1880.         type the key you stored them in.
  1881.  
  1882.             The Executing mode  indicator  shows that Sedt is
  1883.         reexecuting a stored sequence of keystrokes.
  1884.  
  1885.             Execute mode is entered by typing <Gold> <F18>
  1886.  
  1887.     2.7             Responding to Prompts
  1888.  
  1889.         Some  commands,  such  as  the    search    command,  require
  1890.     arguments.  Such commands will    write a prompt on the bottom line
  1891.     of the screen and wait for you to  enter  a  response.      You can
  1892.     enter the following when responding to a prompt:
  1893.  
  1894.         Any key on  the  typewriter keyboard will be entered into
  1895.             the prompt string at the cursor position.
  1896.  
  1897.         <Control> U
  1898.             Will abort the command.
  1899.  
  1900.         <Return>
  1901.         <Keypad Enter>
  1902.         <Do>
  1903.             Completes the response to the prompt.
  1904.  
  1905.         <Delete>
  1906.         <Backspace>
  1907.             Deletes the character behind the cursor.
  1908.  
  1909.         <Gold> <Return>
  1910.             Inserts a CR/LF pair in the prompt buffer.
  1911.  
  1912.         <Left Arrow>
  1913.             Moves the cursor one character left.
  1914.  
  1915.         <Right Arrow>
  1916.             Moves the cursor one character right.
  1917.  
  1918.         <Up Arrow>
  1919.             If typed before  any  other character will recall
  1920.             the previous  response    to  a prompt.  Successive
  1921.             <Up  Arrow>s  will   move  through  the  last  10
  1922.             responses.
  1923.  
  1924.         <Down Arrow>
  1925.             If <Up Arrow> has  recalled  previous  responses,
  1926.             <Down Arrow> will move forward    towards  the last
  1927.             response.
  1928.  
  1929.         Other control characters will be  inserted  at the cursor
  1930.             position.
  1931.  
  1932.         Function keys will insert the programming  of the keys at
  1933.             the cursor.
  1934.     
  1935.         A  special  prompt   is  used  to  confirm  actions  that
  1936.     potentially may cause significant losses of data such as quitting
  1937.     an edit session without saving all changes.  These prompts pose a
  1938.     question, followed by <Y/N>:.  Responses  to these prompts may be
  1939.     a y or Y to confirm, a    n or N affirm or <control> U to abort the
  1940.     command that generated the question.
  1941.  
  1942.     2.8               Repeating Commands
  1943.  
  1944.         Most commands can be repeated by  typing first <Gold> and
  1945.     then the number of times you want  the    command  repeated  on the
  1946.     normal typewriter keyboard before typing the command.
  1947.  
  1948.         A few  commands do not accept such a repeat count, either
  1949.     because it makes  no  sense,  or  because  the number is used for
  1950.     other purposes.
  1951.  
  1952.         As  you  type the number it will be shown on the  message
  1953.     line of the display.
  1954.  
  1955.         If  you  happen  to mistype the number you can delete  it
  1956.     digit by digit with the <Delete> key.
  1957.  
  1958.     2.9            Cursor Movement
  1959.  
  1960.         Cursor movement commands  come    in  two  flavors.    Some
  1961.     take the direction of  movement from the direction flag, which is
  1962.     displayed in the first field  of  the  mode  line, whereas others
  1963.     always move  in  a  fixed direction.  The direction determined by
  1964.     the direction flag is called the DEFAULT DIRECTION.
  1965.  
  1966.         The  direction    flag  is controlled  with  the    following
  1967.     commands:
  1968.  
  1969.         <Gold> +
  1970.         <Gold> >
  1971.         <Keypad 4>
  1972.             Set the direction  flag  to  forward:  toward the
  1973.             end  of the text  in  the  buffer.    <Keypad  4>
  1974.             changes the direction permanently.   <Gold> + and
  1975.             <Gold> > only changes it for the next command.
  1976.  
  1977.         <Gold> -
  1978.         <Gold> <
  1979.         <Keypad 5>
  1980.             Set the direction flag to reverse:    toward  the
  1981.             beginning of the text in the buffer.   <Keypad 5>
  1982.             changes  the direction permanently.  <Gold> - and
  1983.             <Gold> < only changes it for the next command.
  1984.  
  1985.         Most movement commands    can  be repeated by typing <Gold>
  1986.     and then typing the number of times you want the command repeated
  1987.     immediately  before you type the command.   The  number  must  be
  1988.     typed on the normal typewriter keyboard.
  1989.  
  1990.         Commands that move the cursor are:
  1991.  
  1992.         <Gold> .
  1993.             Moves the cursor to a previously set mark.  There
  1994.             are 9 different marks that you    can set.  To move
  1995.             to mark number 1 type <Gold> .    .  To move to any
  1996.             of  the  other marks type <Gold> followed by  the
  1997.             number    of  the  mark  (1  to  9)  on the  normal
  1998.             typewriter keyboard  and  then <Gold> .  .  Marks
  1999.             are useful for    jumping  back  and  forth between
  2000.             different points in the buffer.
  2001.  
  2002.         <Gold> B
  2003.         <Gold> <Keypad 4>
  2004.             Moves  the  cursor to the position just after the
  2005.             last character of text in the buffer.
  2006.  
  2007.  
  2008.         <Gold> M
  2009.             Sets  a  mark  at  the current    position  of  the
  2010.             cursor.  To set mark number 1  type <Gold> M.  To
  2011.             set other marks (1 to 9) type <Gold>  followed by
  2012.             the  number  of the mark on the normal typewriter
  2013.             keyboard and then <Gold> M.
  2014.  
  2015.         <Gold> T
  2016.         <Gold> <Keypad 5>
  2017.             Moves  the  cursor  to the first character in the
  2018.             buffer.
  2019.  
  2020.         <Gold> U
  2021.             If you    type  <Gold> U as the first input after a
  2022.             movement command the cursor will be moved back to
  2023.             the  position  it  was    at before the move.  This
  2024.             command is  very  useful to undo undesired moves.
  2025.             Several commands that  delete  text  can  also be
  2026.             undone with <Gold> U.  If the last command cannot
  2027.             be undone you will receive an error message.
  2028.  
  2029.         <Control> H
  2030.             Will move the cursor to the  beginning of a line.
  2031.             If the cursor already is at the  beginning  of    a
  2032.             line  it  will be moved to the beginning  of  the
  2033.             previous line.
  2034.  
  2035.         <Find>
  2036.         <PF3>
  2037.             Will  search  in  the default direction  for  the
  2038.             string given in the last <Gold> <Find>    or <Gold>
  2039.             <Keypad  9>  command.     The  <Find>  command  is
  2040.             insensitive to the case of the string.
  2041.  
  2042.         <Prev Screen>
  2043.             Moves up by one fewer lines than there are in the
  2044.             window.  The cursor is positioned at the start of
  2045.             the line.
  2046.  
  2047.         <Next Screen>
  2048.             Moves  down  by one fewer lines than there are in
  2049.             the window.   The  cursor  is  positioned  at the
  2050.             start of the line.
  2051.  
  2052.         <Up Arrow>
  2053.             Moves one line up and tries to keep the cursor at
  2054.             the same column as it was at before a sequence of
  2055.             up and down arrow moves.
  2056.  
  2057.         <Left Arrow>
  2058.             Moves one character backward.
  2059.  
  2060.         <Down Arrow>
  2061.             Moves  one line down and tries to keep the cursor
  2062.             at the same column as it was at before a sequence
  2063.             of up and down arrow moves.
  2064.  
  2065.         <Right Arrow>
  2066.             Moves one character forward.
  2067.  
  2068.         <Keypad 0>
  2069.             Moves  in  the    default  direction  to    the  next
  2070.             beginning of line.
  2071.  
  2072.         <Keypad 1>
  2073.             Moves  in  the    default  direction  to    the  next
  2074.             beginning  of  a word.    Spaces before a word  are
  2075.             skipped.    A     word     is    either    a  single
  2076.             non-alphanumeric character or a  word composed of
  2077.             alphanumeric characters.
  2078.  
  2079.         <Keypad 2>
  2080.             Moves in the default direction to the next end of
  2081.             line.  If the cursor already is at the    end  of a
  2082.             line it will move to the end of the next line.
  2083.  
  2084.         <Keypad 3>
  2085.             Moves one character in the default direction.
  2086.  
  2087.         <Keypad 7>
  2088.             Moves  in the default direction to the next start
  2089.             of page.    The start of page is determined by an
  2090.             ASCII FF character (Which is inserted with <Gold>
  2091.             P).  If there are no more ASCII FF characters the
  2092.             cursor will be moved to the end of the buffer.
  2093.  
  2094.         <Keypad 8>
  2095.             Moves in the default direction    to the next start
  2096.             of a paragraph.  Paragraphs are  delimited  by    a
  2097.             minimum of one empty line.   The cursor is placed
  2098.             over  the  first  non-blank  character    in    the
  2099.             paragraph.
  2100.  
  2101.         <Gold> <F19>
  2102.             Moves  to  bracketing character that matches  the
  2103.             one under the cursor.  Matching characters are ',
  2104.             ", <, >, [, ], {, }, (,  and  ).    '  and  " are
  2105.             searched  for in the current direction, all other
  2106.             characters are searched for in the direction that
  2107.             the  character    implies.    If    the cursor is not
  2108.             placed over  one of the above characters an error
  2109.             message will be displayed.
  2110.  
  2111.         <Gold Find>
  2112.         <Gold> <PF3>
  2113.             Prompts for  a    string    on the bottom line of the
  2114.             display    and     then  searches  in  the  default
  2115.             direction for  an  occurrence of the string.  The
  2116.             search    is  independent    of  the  case  of  any
  2117.             alphabetic characters in the string.  If an empty
  2118.             response  is  given  to  the  prompt  the  string
  2119.             entered in response to the last  <Gold> <Find> or
  2120.             <Gold> <Keypad 9> will be used.
  2121.  
  2122.         <Gold> <Left Arrow>
  2123.             Moves continuously backward  through  the  buffer
  2124.             until the beginning of the buffer is reached or a
  2125.             command is typed.
  2126.  
  2127.         <Gold> <Right Arrow>
  2128.             Moves  continuously  forward  through the  buffer
  2129.             until the end of buffer is  reached  or a command
  2130.             is typed.
  2131.  
  2132.     2.10             Text Insertion
  2133.  
  2134.         All insertion  happens    at  the  the cursor position.  To
  2135.     insert at a  different    position  from the one you see the cursor
  2136.     flashing at you have  to  move    the  cursor there first.  See the
  2137.     section on cursor movement for directions on how to move around.
  2138.  
  2139.         The regular typewriter keys will cause    the  character on
  2140.     the key to be inserted in the  file  you  are  editing.   If your
  2141.     keyboard  has been programmed for a national character    set  Sedt
  2142.     will use that programming.
  2143.  
  2144.         A number of other keys will also cause text insertion:
  2145.  
  2146.         <Tab>    The cursor will be advanced to the next tab  stop
  2147.             on the    ruler  by  inserting  spaces  or ASCII HT
  2148.             characters.  If  the mode is set to Tabs:Expanded
  2149.             only   space  characters  will      be    inserted.
  2150.             Otherwise  a  mixture of HT and space  characters
  2151.             will be used.
  2152.  
  2153.             If  an    indentation  point has been set  and  the
  2154.             cursor is to the left of it it    will  space  over
  2155.             intermediate tab stops to the indentation point.
  2156.  
  2157.         <Return>
  2158.             A new line will be started at the cursor position
  2159.             and the  cursor will be advanced according to the
  2160.             following rules:
  2161.  
  2162.             If an A  is  shown  on    the ruler line the cursor
  2163.             will  be advanced to  the  column  of  the  first
  2164.             printable character on the line just terminated.
  2165.  
  2166.             If an L is shown  on  the  ruler  line the cursor
  2167.             will be advanced to the column shown by the L.
  2168.  
  2169.             The  cursor is advanced by  inserting  space  and
  2170.             ASCII  HT  characters.    If the    mode  is  set  to
  2171.             Tabs:Expanded    only  space  characters  will  be
  2172.             inserted.
  2173.  
  2174.         <Escape>
  2175.         <F11>
  2176.             Inserts an ASCII ESC character.
  2177.  
  2178.         <Gold> <Control> I
  2179.             Prompts for a key and will  insert the definition
  2180.             of the key into the file at  the  current  cursor
  2181.             position.  The key can be a function key, control
  2182.             character, gold function key, gold control key or
  2183.             gold character from the typewriter keyboard.
  2184.  
  2185.         <Gold> G
  2186.             Prompts for a file name and includes the contents
  2187.             of the file at the cursor position.
  2188.  
  2189.         <Gold> P
  2190.             Inserts an ASCII FF character, which starts a new
  2191.             page.
  2192.  
  2193.         <Insert Here>
  2194.         <Gold> <Keypad 6>
  2195.             Inserts the  contents  of the paste buffer at the
  2196.             current cursor position.
  2197.  
  2198.         <Gold> <Keypad 0>
  2199.             Inserts a  new    line  at  the cursor position and
  2200.             does not advance  the  cursor.
  2201.  
  2202.         <Gold> <Keypad 3>
  2203.             Allows insertion of an arbitrary ASCII character.
  2204.             Type <Gold> followed by the decimal value of  the
  2205.             character  (typed  on     the  regular  typewriter
  2206.             keyboard) followed by <Gold>  <Keypad  3>.    You
  2207.             cannot enter a newline character (ASCII LF) using
  2208.             this method.
  2209.  
  2210.         <Gold> <Keypad ,>
  2211.             Inserts the last deleted character at  the cursor
  2212.             position.
  2213.  
  2214.         <Gold> <Keypad ->
  2215.             Inserts  the  last  deleted  word  at the  cursor
  2216.             position.
  2217.  
  2218.         <Gold> <PF4>
  2219.             Inserts  the  last  deleted  line  at  the cursor
  2220.             position.
  2221.  
  2222.     2.11             Selecting Text Ranges
  2223.  
  2224.         Several  commands  operate with a selected region.    The
  2225.     following  commands  are  used to select an arbitrary  region  of
  2226.     text.  Whenever a region of text is selected it will be displayed
  2227.     in reverse video on the screen.
  2228.  
  2229.         <Select>
  2230.         <Keypad .>
  2231.             Anchors the  cursor  position  as  one    end  of a
  2232.             selected region.   When  the  cursor  is moved in
  2233.             front of the select  point the select region will
  2234.             be all characters from the select point up to the
  2235.             character behind the cursor.  When  the cursor is
  2236.             moved behind the select point the region  will be
  2237.             all    characters  from  the  cursor  up  to  the
  2238.             character behind the select point.
  2239.  
  2240.         <Gold> <Select>
  2241.         <Gold> <Keypad .>
  2242.             Cancels the select region.
  2243.  
  2244.     2.12             Deleting Text
  2245.  
  2246.         <Linefeed>
  2247.         <Control> J
  2248.         <F13>
  2249.             Deletes  from  the  character  behind  the cursor
  2250.             position  back    to the previous start of a  word.
  2251.             The deleted text can be retrieved with the <Gold>
  2252.             <Keypad -> command.
  2253.  
  2254.         <Control> U
  2255.             Deletes  from  the character  behind  the  cursor
  2256.             position back  to the beginning of the line.  The
  2257.             deleted text can  be  retrieved  with  the <Gold>
  2258.             <PF4> command.
  2259.  
  2260.         <Delete>
  2261.         <Backspace>
  2262.             Deletes the character behind the cursor position.
  2263.             The deleted character can  be  retrieved with the
  2264.             <Gold> <Keypad ,> command.
  2265.  
  2266.         <Gold> Z
  2267.             Clears the contents of the  buffer.  The previous
  2268.             contents cannot be retrieved.
  2269.  
  2270.         <F4>
  2271.             Appends the contents of the selected  text  range
  2272.             to the paste buffer.  The selected  text range is
  2273.             not deleted from the buffer.
  2274.  
  2275.         <Remove>
  2276.         <Keypad 6>
  2277.             Removes  the  selected text range from the buffer
  2278.             and inserts it in the paste buffer.
  2279.  
  2280.         <Keypad ,>
  2281.             Deletes the  character    at  the  cursor position.
  2282.             The character can  be  retrieved  with the <Gold>
  2283.             <Keypad ,> command.
  2284.  
  2285.         <Keypad ->
  2286.             Deletes from the cursor  position up the the next
  2287.             start  of  a  word.   The  deleted  text  can  be
  2288.             retrieved with the <Gold> <Keypad -> command.
  2289.  
  2290.         <PF4>
  2291.             Deletes from the cursor position through the line
  2292.             end.  The deleted text    can be retrieved with the
  2293.             <Gold> <PF4> command.
  2294.  
  2295.         <Gold> <Remove>
  2296.             Copies    from  the  selected  text  range into the
  2297.             paste buffer without deleting from the buffer.
  2298.  
  2299.         <Gold> <Keypad 2>
  2300.             Deletes from the cursor position up to the end of
  2301.             the line.  The deleted text can be retrieved with
  2302.             the <Gold> <PF4> command.
  2303.  
  2304.     2.13              Substitution
  2305.  
  2306.         <Keypad 9>
  2307.             Searches  in    the   current  direction  for  an
  2308.             occurrence of the  last  search string given and,
  2309.             if the string is found, replaces it with the last
  2310.             replace string given.  The  Search  string is set
  2311.             with  the  <Gold>  <PF3>  or  <Gold>  <Keypad  9>
  2312.             commands.    The replace string is set    with  the
  2313.             <Gold> <Keypad 9> command.
  2314.  
  2315.         <Gold> <Keypad 9>
  2316.             Prompts for a search and  a  replace  string  and
  2317.             then  searches    in  the  current direction for an
  2318.             occurrence  of    the search string and , if it  is
  2319.             found, replaces  it  with the replace string.  If
  2320.             an empty response  is given to any of the prompts
  2321.             the previous value of the string will be used.
  2322.  
  2323.     2.14              Windows and Buffers
  2324.  
  2325.         Sedt allows you to edit up to 4  different  files  at the
  2326.     same time.  At any given moment you can choose between having one
  2327.     or two of these displayed on the screen.  The  following commands
  2328.     allow  you  to    switch between the four files and change the  way
  2329.     they are displayed.
  2330.  
  2331.         Each of the 4 files you  can  edit  are held in a buffer.
  2332.     The current buffer, which all commands operate on, is the one you
  2333.     see on the screen when a single window is  displayed,  or the one
  2334.     shown in the top window when two are displayed.
  2335.  
  2336.         <Gold> <Up Arrow>
  2337.             Scrolls the  display  so  that    the line with the
  2338.             cursor is on  the  second  line  of  the display.
  2339.             This command has no effect if the operation would
  2340.             place the first  line of the file below the first
  2341.             line of the display.
  2342.  
  2343.         <Gold> <Down Arrow>
  2344.             Scrolls the  display  so  that    the line with the
  2345.             cursor    is  on the second last    of  the  display.
  2346.             This command has no effect if the operation would
  2347.             place the first  line of the file below the first
  2348.             line of the display.
  2349.  
  2350.         <Gold> D
  2351.             Toggles between displaying one or  two    files  on
  2352.             the  screen.    When two files are displayed  the
  2353.             screen    will  be  split horizontally with the two
  2354.             files shown  one  above  the  other.
  2355.  
  2356.         <Gold> E
  2357.             Prompts  for  a  file  name to be loaded into the
  2358.             current buffer.    The    original  contents of the
  2359.             buffer are discarded.     You  will,  however,  be
  2360.             given a chance to  save  the original contents of
  2361.             the buffer if it has been modified.
  2362.  
  2363.         <Gold> F
  2364.         <F10>
  2365.             Saves the contents of  the  current  buffer.  All
  2366.             other    than  ATARI  GEM  and  Microsoft  Windows
  2367.             versions  will    terminate  the edit session if no
  2368.             unmodified buffers  exist,  or    ask  whether  you
  2369.             intend to terminate if there are unsaved changes.
  2370.  
  2371.         <Gold> Q
  2372.         <F8>
  2373.             Terminates  execution  of Sedt without saving any
  2374.             buffers.   You    will be asked to confirm that you
  2375.             really intend to  quit    if  any buffers have been
  2376.             modified.  On  ATARI  GEM  and    Microsoft Windows
  2377.             versions only the current  window  will be closed
  2378.             and Sedt will terminate when  the  last window is
  2379.             closed.  Advanced Guide
  2380.  
  2381.  
  2382.         <Gold> S
  2383.             Prompts for a file name and then saves the buffer
  2384.             into the file.    The file name associated with the
  2385.             buffer will be changed to the new file.
  2386.  
  2387.         <Gold> X
  2388.             Switches to the previously selected buffer.    If
  2389.             no other buffer has been selected it  will switch
  2390.             to buffer 1.
  2391.  
  2392.         <F6>
  2393.             Saves the contents of the current buffer into the
  2394.             file associated with it.  The save is not done if
  2395.             no modifications have been made.
  2396.  
  2397.         <F17>
  2398.             Selects buffer number 0.
  2399.  
  2400.         <F18>
  2401.             Selects buffer number 1.
  2402.  
  2403.         <F19>
  2404.             Selects buffer number 2.
  2405.  
  2406.         <F20>
  2407.             Selects buffer number 3.
  2408.  
  2409.     2.15            Text Formatting
  2410.  
  2411.         <Control> A
  2412.             Sets  the  indentation level to the column number
  2413.             that the cursor  is  at.    Typing <Tab> when the
  2414.             cursor is to the  left    of  the indentation level
  2415.             will insert space characters to  bring the cursor
  2416.             up to the indentation level.
  2417.  
  2418.         <Control> D
  2419.             Decreases the indentation level by one column.
  2420.  
  2421.         <Control> E
  2422.             Increases the indentation level by one column.
  2423.  
  2424.         <Control> T
  2425.             Adjusts all text within the select  range  by one
  2426.             tab stop.  <Control> T will move the select range
  2427.             right  if the direction flag is forward and  left
  2428.             if  the  direction  flag  is  reverse.     <Gold> -
  2429.             <Control> T  will  always  move  a tab stop left.
  2430.             <Gold> + <Control>  T will always move a tab stop
  2431.             right.
  2432.  
  2433.         <Gold> C
  2434.             Centers the line containing  the  cursor  between
  2435.             the left (L on the  ruler line) and right (R or J
  2436.             on the ruler line) margins.
  2437.  
  2438.         <Gold> J
  2439.             Reformats from the previous beginning of  line to
  2440.             the  end of the current paragraph.   Reformatting
  2441.             requires that a right margin has been set  on the
  2442.             ruler line.  An R will set a ragged  right margin
  2443.             and a J will set a justified right margin.
  2444.  
  2445.         <Gold> _
  2446.             Inserts  a  hyphen and    a  space  at  the  cursor
  2447.             position  and  reformats  from      the     previous
  2448.             beginning  of  line to the  end  of  the  current
  2449.             paragraph.  This command allows you  the  break a
  2450.             word if the automatic reformatting looks bad.
  2451.  
  2452.         <Gold> <Keypad 8>
  2453.             Reformats from the cursor position to  the end of
  2454.             the current paragraph.
  2455.  
  2456.     2.16            Programming Keys
  2457.  
  2458.         The effect of a keyboard command is  not  fixed  in Sedt.
  2459.     You can change the functions of most keys  in  a variety of ways.
  2460.     Permanently  by    editing    the  keyboard  definition  file  or
  2461.     temporarily  during a  session    with  commands    that  change  the
  2462.     keyboard programming.
  2463.  
  2464.         <Control> K
  2465.             Prompts for you to  type  the  key  you  want  to
  2466.             program and for a command string that you want to
  2467.             program the key with.  Valid  commands    that  you
  2468.             can  program the key with are documented  in  the
  2469.             reference section of this manual.
  2470.  
  2471.         <Gold> <Control> I
  2472.             Prompts for you to  type  a  keystroke    and  then
  2473.             inserts  the  programming  of the  key    into  the
  2474.             current buffer at the cursor position.
  2475.  
  2476.         <Gold> <Control> L
  2477.             Prompts for you to type the key that  you want to
  2478.             program  and  then  loads  the    contents  of  the
  2479.             current buffer into the key.  Valid commands that
  2480.             you can program  the  key  with are documented in
  2481.             the reference section of this manual.
  2482.  
  2483.         <Gold> <F17>
  2484.             Causes    learning  of  keystrokes  into    ^B  until
  2485.             learning is completed by typing <Control> Z.  The
  2486.             keystrokes learned  can  be  "replayed" by typing
  2487.             ^B.
  2488.  
  2489.         <Gold> <F18>
  2490.             Prompts  for  a    keystroke    and  then  stores
  2491.             subsequent keystokes into that    key  until  it is
  2492.             typed again.  To "replay" the keystrokes type the
  2493.             key at any time after learning was terminated.
  2494.  
  2495.     2.17            Changing Options
  2496.  
  2497.         Sedt supports  a  variety  of  toggles    and  options that
  2498.     change the behavior of the editor.  Many can be set for a session
  2499.     by providing command switches  when  you call Sedt or they can be
  2500.     modified dynamically during the editing session.
  2501.  
  2502.         <Gold> A
  2503.             Toggles    automatic    screen    shifting.
  2504.  
  2505.             When automatic screen shifting    is  on the screen
  2506.             will  scroll  horizontally  to    ensure    that  the
  2507.             cursor    is always visible within the  margins  on
  2508.             your screen.  The mode indicator "Screen  Shift="
  2509.             indicates  how    many characters to the right that
  2510.             the  screen  is shifted.  When screen shifting is
  2511.             off the  leftmost  character on the screen always
  2512.             corresponds to the  leftmost  character  on  each
  2513.             line in the file.
  2514.  
  2515.         <Gold> I
  2516.             Toggles  expansion  of    tabs.
  2517.  
  2518.             Then tabs are expanded only space characters will
  2519.             be used when indenting    text  in  moving to a tab
  2520.             stop on the ruler.   When  tabs are inserted Sedt
  2521.             will attempt to use ASCII HT characters for these
  2522.             operations,  thus saving file space.  The  latter
  2523.             condition  may lead to undesired effects when you
  2524.             delete    and   insert  text  containing    ASCII  HT
  2525.             characters.  The  state of the tab insertion mode
  2526.             is shown by the "Tabs:" mode indicator.
  2527.  
  2528.         <Gold> L
  2529.             Toggles block cut and paste.
  2530.  
  2531.             When  block  cut and paste is  in  effect  a  cut
  2532.             operation (<Remove> or <Keypad 6>) will remove    a
  2533.             rectangle of text bounded by the select point and
  2534.             the   cursor  position.    In  line  mode  a  cut
  2535.             operation will    remove    all  text  in  the select
  2536.             region.
  2537.  
  2538.             When block  cut  and  paste is in effect the word
  2539.             "Block" will appear  on  the mode line and only a
  2540.             reverse video column will show the select region.
  2541.  
  2542.             When line cut and  paste is in effect "Line" will
  2543.             be shown on the mode  line  and the entire select
  2544.             region will be shown in reverse video.
  2545.  
  2546.         <Gold> O
  2547.             Toggles  overstrike/insert mode.
  2548.  
  2549.             In insert  mode  typed    text,  inserted  text and
  2550.             undeleted  text  will be inserted at  the  cursor
  2551.             position and any existing text will be    pushed to
  2552.             the right of  the  inserted  text.    The  delete
  2553.             operation will remove the  text and collapse text
  2554.             around    the region that was  deleted.     "Insert"
  2555.             will also be displayed on the mode line.
  2556.  
  2557.             In  replace  mode  typed, inserted and    undeleted
  2558.             text will overwrite existing text in the  buffer.
  2559.             Delete    operations will cause the deleted text to
  2560.             be  replaced by blank space.  "Replace" will also
  2561.             be shown  on  the mode line.  This mode is useful
  2562.             for editing tabular types of text.
  2563.  
  2564.         <Gold> W
  2565.             Toggles between 80  and  132  character displays.
  2566.             This is only supported    on  systems  and displays
  2567.             that can toggle between these modes.
  2568.  
  2569.     2.18             Miscellaneous Commands
  2570.  
  2571.         <Control> P
  2572.             Prompts  for  a file name and writes the contents
  2573.             of  the  current  buffer  onto the file with page
  2574.             breaks at every 60 lines.
  2575.  
  2576.         <Control> W
  2577.             Refreshes the entire display.
  2578.  
  2579.         <Gold> <Return>
  2580.         <Do>
  2581.             Prompts for an operating system command and  then
  2582.             executes  it in a subprocess.  If no  command  is
  2583.             entered the  command  parser  will  be    executed.
  2584.             This command is  not  supported  on all operating
  2585.             systems.
  2586.  
  2587.         <Gold> H
  2588.         <Help>
  2589.         <PF2>
  2590.             Displays  a  series  of    help  screens  on  the
  2591.             terminal.
  2592.  
  2593.         <Gold> R
  2594.             Enters ruler definition mode.  See the chapter on
  2595.             modifying the ruler for an explanation.
  2596.  
  2597.         <F7>
  2598.         <F9>
  2599.         <Keypad Enter>
  2600.         <Gold> <Resume>
  2601.             Dead  key.    This  is useful for  terminating    a
  2602.             continuously  scrolling  operation    started  by
  2603.             <Gold> <Right Arrow> or <Gold> <Left Arrow>.
  2604.  
  2605.         <Gold> <F4>
  2606.             Prompts for a file  and loads the contents of the
  2607.             file into the paste buffer.
  2608.  
  2609.         <Gold> <Do>
  2610.         <Gold> <Keypad 7>
  2611.             Prompts for a sequence of  internal Sedt commands
  2612.             and  then  executes  them.    A   description  of
  2613.             internal   Sedt  commands  is  contained  in  the
  2614.             reference section of this manual.
  2615.  
  2616.         <Gold> <Keypad 1>
  2617.             Changes  the  case  of alphabetic characters in a
  2618.             range  of text given by the following rule:   The
  2619.             select    region if one is active, otherwise if the
  2620.             last command  was  a  search operation the string
  2621.             that was found,  otherwise  the  character at the
  2622.             cursor position.
  2623.  
  2624.         <Gold> <Keypad Enter>
  2625.             Swaps the character at    the  cursor  position and
  2626.             the following character and advances  the  cursor
  2627.             by one character.
  2628.     
  2629.     Copyright (c) Anker Berg-Sonne, 1985-1990
  2630.     Sedt Version 4.0 (271)
  2631.  
  2632.  
  2633.     3       Using the MS-DOS version of Sedt
  2634.  
  2635.         The  MS-DOS  version  of    Sedt    follows  the  generic
  2636.     description given in the previous  two chapters, but adds support
  2637.     for a mouse if a Microsoft mouse compatible driver is installed.
  2638.  
  2639.     3.1 Support of the Microsoft mouse driver
  2640.  
  2641.             If  Sedt recognizes the presence of  a    mouse  it
  2642.         will  display  a  block cursor within the  window.    The
  2643.         cursor will move around the window if you move the mouse.
  2644.  
  2645.             Clicking the left mouse button will move the text
  2646.         cursor to the position you clicked at.    Any active select
  2647.         region is canceled.    If  the mouse is dragged with the
  2648.         left mouse button held down the cursor will move with the
  2649.         mouse and the region between  the  point where the cursor
  2650.         was  originally pressed and the current  cursor  will  be
  2651.         selected.
  2652.  
  2653.             Clicking the right  mouse  button will select the
  2654.         text between the mouse cursor and the text cursor.
  2655.     
  2656.     Copyright (c) Anker Berg-Sonne, 1985-1990
  2657.     Sedt Version 4.0 (271)
  2658.  
  2659.  
  2660.     4       Using the Microsoft Windows version of Sedt
  2661.  
  2662.  
  2663.         WSEDT.EXE is special version of Sedt running as a class A
  2664.     application  under  Microsoft    Windows.    In    addition  to  the
  2665.     functionality described elsewhere in  this manual it offers mouse
  2666.     control, menus, sizable and movable  windows  and an interface to
  2667.     the  Windows clipboard.  
  2668.  
  2669.         Because of  the multitasking environment Sedt cannot take
  2670.     full control of  the  keyboard    or  even assume that the keyboard
  2671.     state is known.  Therefore Sedt does not support the Num Lock and
  2672.     Scroll Lock keys as normal editing keys.
  2673.  
  2674.     4.1              Window Control
  2675.  
  2676.             When you  run Sedt is displays a normal MS window
  2677.         with a menu  bar,  a  size box and a vertical scroll bar.
  2678.         All of these controls  work  exactly  as  with    any other
  2679.         Windows application.  When the window is resized you will
  2680.         notice that Sedt  adapts  to the new windows size so that
  2681.         horizontal shifting and vertical  scrolling  work exactly
  2682.         the same.
  2683.  
  2684.             The initial window will display buffer 0.  As you
  2685.         open  other  buffers,  they  will  be  displayed  in  new
  2686.         windows.  You can display the contents of several buffers
  2687.         at a time.  As with the stand alone version, you can have
  2688.         four concurrently open    windows.   These are displayed in
  2689.         independent  MS-Windows windows that  can  be  moved  and
  2690.         controlled independently.
  2691.  
  2692.     4.2              Mouse Control
  2693.  
  2694.             The mouse cursor is an    I-bar text cursor when it
  2695.         moves within the file display.     Outside the file display
  2696.         it changes into an arrow pointer.
  2697.  
  2698.             Apart  from  the  normal  mouse  controls of  the
  2699.         windows and menus, you can also use the mouse to position
  2700.         the text cursor within the visible window and to select a
  2701.         region of text.
  2702.  
  2703.             To  position  the cursor, place the mouse pointer
  2704.         at the    character  position  you  want the cursor at, and
  2705.         click the left    button.    The    cursor    will  move to the
  2706.         selected position unless the  position    is further to the
  2707.         right than the last character  on  the    line, or past the
  2708.         end of the buffer.  If    the  selected position is further
  2709.         to the right than the end of  the line the cursor will be
  2710.         placed over the last character on the line.    If  it  is
  2711.         past the end of the buffer you will get an error message.
  2712.  
  2713.             If you select a point on  the  first or last line
  2714.         of the buffer the window will scroll one line.
  2715.  
  2716.             To  select a region of text you can use the mouse
  2717.         in two    different  ways.    If    you drag the cursor after
  2718.         clicking  it  the  region  from  the  initially  selected
  2719.         cursor position to the    point where you release the mouse
  2720.         button will be the selected  region.  If you accidentally
  2721.         select a region by dragging, you  can  cancel  the select
  2722.         region by moving the mouse cursor to the block cursor and
  2723.         clicking  the right mouse button.  Alternately, a  region
  2724.         can be selected by moving the mouse cursor to  the end of
  2725.         the  select  region  and clicking the right mouse button.
  2726.         In either case the selected region will change to reverse
  2727.         video.
  2728.  
  2729.     4.3               Menu Control
  2730.  
  2731.             The menu  bar  will  display  five titles:  File,
  2732.         Window, Edit, Ruler and Help.    To  select  any  of these
  2733.         move the mouse cursor to the title  and  a drop down menu
  2734.         will appear.  To select an item move  the mouse cursor to
  2735.         the item and click the left mouse button.   A  drop  down
  2736.         menu will appear as long as you hold down the  left mouse
  2737.         button.   To select a menu item drag the cursor till  the
  2738.         item  you want    is  highlighted  and  release  the  mouse
  2739.         button.
  2740.  
  2741.     4.3.1    File
  2742.  
  2743.             This  menu is used  to    control  the  file  being
  2744.             edited in the window.
  2745.  
  2746.     4.3.1.1     New
  2747.  
  2748.                 Clears the current window.  If the window
  2749.                 contains  an  unsaved  file  a dialog box
  2750.                 will  appear  and  you    will be asked for
  2751.                 confirmation before the unsaved edits are
  2752.                 removed.
  2753.  
  2754.     4.3.1.2     Open..
  2755.  
  2756.                 Displays  a  file  selector dialog box.
  2757.                 The file you select in the box    is loaded
  2758.                 into the current buffer.
  2759.  
  2760.     4.3.1.2     Save
  2761.  
  2762.                 Saves the file in the current buffer onto
  2763.                 the  file  displayed after "File:" in the
  2764.                 top line of the window.
  2765.  
  2766.     4.3.1.3     Save as..
  2767.  
  2768.                 Displays a file selector dialog box.  The
  2769.                 contents of the buffer are saved onto the
  2770.                 file you select.  The file name displayed
  2771.                 after  "File:"    in  the  top line of  the
  2772.                 window is also changed to the name of the
  2773.                 file you selected.
  2774.  
  2775.     4.3.1.4     Insert..
  2776.  
  2777.                 Displays a file selector dialog box.  The
  2778.                 file  selected is included in the  buffer
  2779.                 at the current cursor position.
  2780.  
  2781.     4.3.1.5     Quit
  2782.  
  2783.                 Closes the current window.  If    there are
  2784.                 unchanged  buffers  you will be asked for
  2785.                 confirmation  before  the    session   is
  2786.                 terminated.  Sedt will terminate when the
  2787.                 last window is closed.
  2788.  
  2789.     4.3.2    Window
  2790.  
  2791.             The  window menu allows  you  to  switch  between
  2792.             buffers and to clear the contents of a window.
  2793.  
  2794.     4.3.2.1     Untitled
  2795.             Unused
  2796.             <File name>
  2797.  
  2798.                 Makes the window containing the indicated
  2799.                 buffer    the  currently    selected  window.
  2800.                 The menu item shows the  current state of
  2801.                 the window.  Untitled is an  open  window
  2802.                 with  no file associated with it.   <File
  2803.                 name>  is  the    name  of  the  file being
  2804.                 edited, and Unused is a closed window.
  2805.  
  2806.     4.3.2.2     Switch
  2807.  
  2808.                 Selects  the window you were in when  you
  2809.                 last selected a new window.
  2810.  
  2811.     4.3.3    Edit
  2812.  
  2813.             The edit menu allows you to  control the select
  2814.             region.
  2815.  
  2816.     4.3.3.1     Clear
  2817.  
  2818.                 Clears the select region.  This is useful
  2819.                 when you  have    accidentally  activated a
  2820.                 select region by  moving  the mouse while
  2821.                 holding the button down.
  2822.  
  2823.     4.3.3.2     Cut
  2824.  
  2825.                 Cuts the selected region  and saves it in
  2826.                 the paste buffer.
  2827.  
  2828.     4.3.3.3     Paste
  2829.  
  2830.                 Inserts the contents of the  paste buffer
  2831.                 at the text cursor position.
  2832.  
  2833.     4.3.4    Ruler
  2834.  
  2835.             Loads a saved ruler.
  2836.  
  2837.     4.3.4.1     Load <X>
  2838.  
  2839.                 Load saved ruler number <X>
  2840.  
  2841.     4.3.5    Help
  2842.  
  2843.             The help menu displays the interactive help menus
  2844.             in the current window.
  2845.     
  2846.     Copyright (c) Anker Berg-Sonne, 1985-1990
  2847.     Sedt Version 4.0 (271)
  2848.  
  2849.  
  2850.     5         Using the ATARI GEM version of Sedt
  2851.  
  2852.  
  2853.         Under  the  ATARI  GEM environment GSEDT.PRG  offers  the
  2854.     functionality  described  elsewhere  in  this  manual  with   the
  2855.     addition  of  sizable  and  movable windows, mouse control,  menu
  2856.     access    to  some  functions and access to desk accessories  while
  2857.     using Sedt.  The only function is spawning of subprocesses.
  2858.  
  2859.     5.1              Window Control
  2860.  
  2861.             When  you  first  enter  Sedt  it  will display a
  2862.         single window with a menu  bar, a move bar, a scroll bar,
  2863.         a full box and a size  box.    You  can  use any of these
  2864.         controls to move or resize the window.      You will notice
  2865.         that  every  time the window has been resized  Sedt  will
  2866.         ensure that the cursor is within the new window  and that
  2867.         no clipping takes place.  Sedt will not allow any portion
  2868.         of  the  window  to be outside the visible portion of the
  2869.         screen,  and  if  you  try,  it will resize the window to
  2870.         prevent this from happening.
  2871.  
  2872.             The initial window will display buffer 0.  As you
  2873.         open  other  buffers,  they  will  be  displayed  in  new
  2874.         windows  that  also  are initialized to full screen size.
  2875.         You can  display  the  contents  of  several  buffers  by
  2876.         resizing them and moving them to different screen areas.
  2877.  
  2878.     5.2              Mouse Control
  2879.  
  2880.             Normally the mouse  cursor  is    not visible.  You
  2881.         can make it visible  at any time by moving the mouse, and
  2882.         it  will  remain  visible  until  you  execute    the  next
  2883.         keyboard command.
  2884.  
  2885.             Apart from the normal mouse controls of the ATARI
  2886.     GEM windows and menus, you can also use the mouse to position the
  2887.     text cursor within the    visible  window and to select a region of
  2888.     text.
  2889.  
  2890.             To  position  the cursor, place the mouse pointer
  2891.         at the    character  position  you  want the cursor at, and
  2892.         click the left    button.    The    cursor    will  move to the
  2893.         selected position unless the  position    is further to the
  2894.         right than the last character  on  the    line, or past the
  2895.         end of the buffer.  If    the  selected position is further
  2896.         to the right than the end of  the line the cursor will be
  2897.         placed over the last character on the line.    If  it  is
  2898.         past the end of the buffer you will get an error message.
  2899.  
  2900.             If you select a point on  the  first or last line
  2901.         of the buffer the window will scroll one line.
  2902.  
  2903.             To  select a region of text move the mouse cursor
  2904.         to  the place where you want the text cursor to be  after
  2905.         the selection then push the left button on the mouse and,
  2906.         while holding the  button  down, drag the mouse cursor to
  2907.         the end of the    region you want to select and release the
  2908.         button.
  2909.  
  2910.             You can  clear    the select region by clicking the
  2911.         cursor on the select point.
  2912.  
  2913.     5.3               Menu Control
  2914.  
  2915.             The  menu  bar    will  display five titles:  Desk,
  2916.         File, Window, Select  and  Help.   To select any of these
  2917.         move the mouse cursor  to  the title and a drop down menu
  2918.         will appear.  To select  an item move the mouse cursor to
  2919.         the item and click the left mouse button.
  2920.  
  2921.     5.3.1    Desk
  2922.  
  2923.             This is  the  normal  desk  accessory menu with a
  2924.             selection at the top titled "About Sedt".
  2925.  
  2926.     5.3.1.1     About Sedt
  2927.  
  2928.                 Displays  in a dialog box the version  of
  2929.                 Sedt you are using.
  2930.  
  2931.     5.3.2    File
  2932.  
  2933.             Allows    you to control    the  file  shown  in  the
  2934.             currently selected window.
  2935.  
  2936.     5.3.2.1     Load..
  2937.  
  2938.                 Displays a file selector dialog box.  The
  2939.                 file you select in the box is loaded into
  2940.                 the current buffer.
  2941.  
  2942.     5.3.2.2     Save
  2943.  
  2944.                 Saves the file in the current buffer onto
  2945.                 the  file  displayed after "File:" in the
  2946.                 top line of the window.
  2947.  
  2948.     5.3.2.3     Save as..
  2949.  
  2950.                 Displays a file selector dialog box.  The
  2951.                 contents of the buffer are saved onto the
  2952.                 file you select.  The file name displayed
  2953.                 after  "File:"    in  the top line  of  the
  2954.                 window is also changed to the name of the
  2955.                 file you selected.
  2956.  
  2957.     5.3.2.4     Insert..
  2958.  
  2959.                 Displays a file selector dialog box.  The
  2960.                 file selected is included in  the  buffer
  2961.                 at the current cursor position.
  2962.  
  2963.     5.3.2.5     Quit
  2964.  
  2965.                 Closes the current window.  If    there are
  2966.                 unchanged  buffers  you will be asked for
  2967.                 confirmation  before  the    session   is
  2968.                 terminated.  Sedt will terminate when the
  2969.                 last window is closed.
  2970.  
  2971.     5.3.3    Window
  2972.  
  2973.             The  window menu allows  you  to  switch  between
  2974.             buffers and to clear the contents of a window.
  2975.  
  2976.     5.3.3.1     Untitled
  2977.             Unused
  2978.             <File name>
  2979.  
  2980.                 Makes the window containing the indicated
  2981.                 buffer    the  currently    selected  window.
  2982.                 The menu item shows the  current state of
  2983.                 the window.  Untitled is an  open  window
  2984.                 with  no file associated with it.   <File
  2985.                 name>  is  the    name  of  the  file being
  2986.                 edited, and Unused is a closed window.
  2987.  
  2988.     5.3.3.2     Switch
  2989.  
  2990.                 Selects  the window you were in when  you
  2991.                 last selected a new window.
  2992.  
  2993.     5.3.3.3     Clear
  2994.  
  2995.                 Erases the contents of a window.  If  the
  2996.                 window contains unsaved  changes you will
  2997.                 be asked whether you  want  to    save  the
  2998.                 changes before clearing the window.
  2999.  
  3000.     5.3.4    Select
  3001.  
  3002.             The select menu allows you to  control the select
  3003.             region.
  3004.  
  3005.     5.3.4.1     Clear
  3006.  
  3007.                 Clears the select region.  This is useful
  3008.                 when you  have    accidentally  activated a
  3009.                 select region by  moving  the mouse while
  3010.                 holding the button down.
  3011.  
  3012.     5.3.4.2     Cut
  3013.  
  3014.                 Cuts the selected region  and saves it in
  3015.                 the paste buffer.
  3016.  
  3017.     5.3.4.3     Paste
  3018.  
  3019.                 Inserts the contents of the  paste buffer
  3020.                 at the text cursor position.
  3021.  
  3022.     5.3.5    Ruler
  3023.  
  3024.             Loads a saved ruler.
  3025.  
  3026.     5.3.5.1     Load <X>
  3027.  
  3028.                 Load saved ruler number <X>
  3029.  
  3030.     5.3.6    Help
  3031.  
  3032.             The help menu displays the interactive help menus
  3033.             in the current window.
  3034.  
  3035.     5.3.6.1     Show
  3036.  
  3037.                 Show  the  interactive    help menus in the
  3038.                 currently active window.
  3039.     
  3040.     Copyright (c) Anker Berg-Sonne, 1985-1990
  3041.     Sedt Version 4.0 (271)
  3042.  
  3043.                   Sedt hints and tricks
  3044.  
  3045.     6.1 Using Sedt for programming
  3046.  
  3047.             A number of features in Sedt are designed to make
  3048.         programming  easier.      This    section  describes  these
  3049.         features and how best to take advantage of them.
  3050.  
  3051.         Autoindentation
  3052.  
  3053.             By setting the    ruler  for  automatic indentation
  3054.             (type  A anywhere on  the  ruler  when    in  ruler
  3055.             definition  mode)  Sedt  is  set   up  to  indent
  3056.             automatically to the level of the  line  you just
  3057.             terminated  after  you    type  a  <Return>.   This
  3058.             facility  makes  it  easy to write programs in    a
  3059.             structured  fashion with  the  indentation  level
  3060.             proportional to the level of nesting.
  3061.  
  3062.         Matching bracketing characters
  3063.  
  3064.             When  programming,  especially    in  C  and  LISP,
  3065.             nesting is often hard to  get  right.    Sedt will
  3066.             locate a matching bracket (', ",  <,  >, [, ], {,
  3067.             }, (, or )) if you position  the  cursor over the
  3068.             character  and    type <Gold> <F19>.  This facility
  3069.             can also  be  used  to    move over sections of the
  3070.             program.
  3071.  
  3072.         Compiling from within Sedt
  3073.  
  3074.             By defining a  key  to    save the current file and
  3075.             spawn  a  compiler  you  can  compile  a  program
  3076.             without leaving Sedt.  If  the compiler generates
  3077.             a listing of error messages, you  can  define the
  3078.             key to also load the listing in another buffer.
  3079.  
  3080.         Defining templates
  3081.  
  3082.             By using the lean key feature, you  can  define a
  3083.             series    of  keys in such a way that  they  insert
  3084.             templates for key language constructs.
  3085.  
  3086.     6.2 Using Sedt for text and documents
  3087.  
  3088.         Formatting
  3089.  
  3090.             Use word wrap  and right margin, either ragged or
  3091.             justified to format paragraphs    as  you type.  If
  3092.             you  make  changes  to    an    already    formatted
  3093.             paragraph, reformat the paragraph with <Gold>  J.
  3094.             It is a good idea to have  multiple stored rulers
  3095.             for different levels of indentation.
  3096.  
  3097.         Post processing
  3098.  
  3099.             Sedt is not a word processor and does not support
  3100.             many  features    such  as bolding and underlining.
  3101.             There  are,  however, a number of post processors
  3102.             that  together with Sedt will provide a more than
  3103.             acceptable word processing environment.  Define a
  3104.             key to save the file,  post  process  it and then
  3105.             print the final output.
  3106.  
  3107.         Spelling checkers
  3108.  
  3109.             Sedt  works  very  well  with  resident  spelling
  3110.             checkers  such    as Turbo Lightning on PC/DOS  and
  3111.             Thunder on the ATARI ST.  With a spelling checker
  3112.             and  thesaurus, you have a superb environment for
  3113.             producing documents.
  3114.  
  3115.     6.3 Repetitive tasks
  3116.  
  3117.             A number of tricks  can  be  used  to  facilitate
  3118.         tasks that require repetition of  a task many times.  The
  3119.         techniques are based on the ability to dynamically change
  3120.         key definitions.  Usually a combination of the techniques
  3121.         described lead to the optimal effort reduction.
  3122.  
  3123.         Using learned key sequences
  3124.  
  3125.             The  standard  technique  for  reexecuting  a key
  3126.             sequence is to type <Gold> <F17> at the  start of
  3127.             the sequence and terminate  the sequence with ^B.
  3128.             The sequence can then be  replayed once by typing
  3129.             ^B  and  many  times  by typing  <Gold>  <Number>
  3130.             ^B.  <Number> is the number of times you  want to
  3131.             repeat    the  sequence  and  must  be typed on the
  3132.             regular typewriter keyboard.
  3133.  
  3134.         More advanced use of learned key sequences
  3135.  
  3136.             You can  learn keystrokes into other keys than ^B
  3137.             by starting the  process  by  typing <Gold> <F18>
  3138.             and then typing the  key  you  want to learn into
  3139.             when prompted.    To exit  learning  mode  type the
  3140.             key you are learning into.  The learned keystroke
  3141.             sequence can be replayed by typing the    same  key
  3142.             again.
  3143.  
  3144.         Redefining complex keystroke sequences
  3145.  
  3146.             A very simple technique is to redefine a  command
  3147.             that  is  tied    to  a  complex key sequence to    a
  3148.             single keystroke.  You can very easily redefine a
  3149.             gold key sequence to a single keystroke by typing
  3150.             ^K, then the single  key you will tie the command
  3151.             to,  <Return>,    the old keystroke  sequence,  and
  3152.             finally <Return>.
  3153.  
  3154.         Using commands not tied to keys by default
  3155.  
  3156.             The default key definitions only use  a subset of
  3157.             Sedt's capabilities.    You  can  often  simplify
  3158.             tasks by taking  advantage  of the more extensive
  3159.             capabilities of the basic command set.
  3160.  
  3161.         Turning screen updates off
  3162.  
  3163.             When  a repetitive sequence  generates    extensive
  3164.             screen    updates it can be  simplified  by  taking
  3165.             advantage of the ability to turn  screen  updates
  3166.             off.
  3167.     
  3168.     6.4 Creating Menus
  3169.     
  3170.         Often, you  would  like  to  taylor  Sedt to more complex
  3171.         editing environments.    The command structure offers many
  3172.         opportunities to do this.  One way, which is not obvious,
  3173.         is described here.
  3174.     
  3175.         If you would like to  take  an    action    determined  by    a
  3176.         choice by the user, you can do    so  by    tying  a  command
  3177.         sequence like the following to a key:
  3178.     
  3179.     ^E(:FX|%e?"Enter document type L)etter, P)rogram, M)emo :"tpe.sed|)(:OM"Invalid menu selection").
  3180.     
  3181.         When the key is pressed the commands in  a file stored in
  3182.         Sedt's library area will be executed.  If L  is typed the
  3183.         file Ltpe.sed is selected.  P and M will execute Ptpe.sed
  3184.         and Mtpe.sed.
  3185.     
  3186.     6.5 Using different initialization files for different file types
  3187.     
  3188.         You can make  Sedt  initialize    itself    automatically for
  3189.         different file types by creating a SEDTCOM.TXT file with
  3190.     
  3191.         ^E(:FX\%E%T.INI\)(:OM"No initialization file").
  3192.     
  3193.         For any file type you edit Sedt will look for a file with
  3194.         the name <type>.INI in Sedt's  library    area.  If none is
  3195.         found, a message will be issued.
  3196.     
  3197.     Copyright (c) Anker Berg-Sonne, 1985-1990
  3198.     Sedt Version 4.0 (271)
  3199.     
  3200.     7              Customizing Keyboards
  3201.     
  3202.         Keyboard commands are defined by two files.  The keyboard
  3203.     map file defines how  keyboard    input  is  mapped  into  a set of
  3204.     predefined functions.  The predefined  functions are defined in a
  3205.     function definition file.  Both of  these  files  are in a binary
  3206.     format and must be created with a utility program called MAPKEY.
  3207.     
  3208.         The  keyboard  map files are unique for  every    keyboard,
  3209.     wheras    there  is  only  one  function definition file    for  each
  3210.     editing style (EDT or WPS).
  3211.         
  3212.                 To customize  Sedt  for  a  new keyboard you can normally
  3213.         leave the function  definition  file  and the MAPS section of the
  3214.         key definition file unchanged.    What  remains  is to change the
  3215.         KEYS and COMBINATIONS sections in the  key  mapping  file.   Take
  3216.         some time to compare different key mapping files.  This will give
  3217.         you and idea of the work to be  done.    You will be surprised at
  3218.         how similar they are.
  3219.     
  3220.     7.1 Function definition file
  3221.     
  3222.         Before    building a keyboard map file you need to build    a
  3223.     function  definition  file,  or print the contents of the one you
  3224.     want to  map  the  keyboard  to.   The Sedt distribution contains
  3225.     FUNDEF.INP, which is  the ASCII file used to create the EDT style
  3226.     function definition file FUNDEF.EDT.
  3227.     
  3228.         The format of this file is as follows:
  3229.     
  3230.             Comment lines  have  a    ;    as  the  very  first
  3231.         character of the line.
  3232.     
  3233.             Function  definitions  are   two  lines  with  NO
  3234.         comments allowed between the two.
  3235.     
  3236.             The first line has the format:
  3237.     
  3238.             <No> <Definition>
  3239.     
  3240.             Where <No> is the  number  that you have assigned
  3241.         to the function being defined,    and  <Definition>  is the
  3242.         function  definition.     The  contents    of    a  function
  3243.         definition  is    described  in  the next section  of  this
  3244.         manual.
  3245.     
  3246.             The second line is the help text assigned  to the
  3247.         function and is free format text.
  3248.     
  3249.     7.2 Keyboard map file
  3250.     
  3251.         To create a keyboard map file you first need  to know the
  3252.     characters that each key sends.  This is done with  MAPKEY  using
  3253.     the command
  3254.     
  3255.     MAPKEY SCAN
  3256.     
  3257.         To exit  from  MAPKEY type an Escape character under DOS,
  3258.     OS/2, or ATARI ST and a control Z on all other systems.
  3259.     
  3260.         You  may find  that  some  keys  that  you  want  to  use
  3261.     differently send identical codes,  and    other  keys  transmit  no
  3262.     codes to the application.   Under  DOS    and  OS/2  you    have  the
  3263.     ability to bypass the keyboard firmware.    The codes transmitted
  3264.     to the firmware can be explored with MAPKEY typing
  3265.     
  3266.     MAPKEY SCAN
  3267.     
  3268.         You also exit from this mode by typing Escape.
  3269.     
  3270.         Once you know the codes transmitted by    all  keys you are
  3271.     ready to start building the ASCII file that  MAPKEY uses to build
  3272.     the keyboard map file.
  3273.     
  3274.         The input file has four sections:
  3275.     
  3276.             1:  Codes that the  firmware needs to be bypassed
  3277.             with.
  3278.     
  3279.             2:  Assignment of single keystroke  codes  to key
  3280.             numbers.
  3281.     
  3282.             3:  Assignment of multiple keystroke sequences to
  3283.             key numbers.
  3284.     
  3285.             4:  Mapping of keystrokes to function numbers.
  3286.     
  3287.         Section 1 contains a single line for each code    that  the
  3288.             firmware needs to be bypassed for in the firmat:
  3289.     
  3290.             S<Scancode> <Character>
  3291.             E<Scancode> <Character>
  3292.     
  3293.                 or
  3294.     
  3295.                         W<Windows code> <Character>
  3296.             
  3297.             <Scancode> is  the  scancode  value  that  MAPKEY
  3298.             printed and <Character>  is  the  ASCII character
  3299.             that  you have decided    to  assign  to    the  key.
  3300.             (ASCII character values are normally  assigned by
  3301.             the firmware).      E is used where MAPKEY informed
  3302.             you that the  scancode    is extended and S is used
  3303.             for normal scancodes.
  3304.         
  3305.                         For OS/2  E<Scancode>  <Character>  has a special
  3306.                         meaning:    Special  handling   by  OS/2  of  the
  3307.                         scancode/character  combination will be disabled.
  3308.                         This makes it possible to treat  ^C  among  other
  3309.                         characters as normal input to Sedt.
  3310.         
  3311.                         <Windows code> is a keycode assigned by Microsoft
  3312.                         Windows.  When referring to the key  later in the
  3313.                         key  definition  file use S<Windows code>.  These
  3314.                         codes  are   only  partially  documented  in  the
  3315.                         Windows developer's kit.    The  following is the
  3316.                         best  listing  of Windows  keycodes  that  I  can
  3317.                         supply.
  3318.         
  3319.                         Backspace       8
  3320.                         Tab             9
  3321.                         Return          13
  3322.                         Escape          27
  3323.                         Space           32
  3324.                         Page Up         33
  3325.                         Page Dn         34
  3326.                         End             35
  3327.                         Home            36
  3328.                         Left Arrow      37
  3329.                         Up Arrow        38
  3330.                         Right Arrow     39
  3331.                         Down Arrow      40
  3332.                         Select          41
  3333.                         Print Screen    42
  3334.                         Insert          45
  3335.                         Delete          46
  3336.                         Keypad 0        96
  3337.                         Keypad 1        97
  3338.                         Keypad 2        98
  3339.                         Keypad 3        99
  3340.                         Keypad 4        100
  3341.                         Keypad 5        101
  3342.                         Keypad 6        102
  3343.                         Keypad 7        103
  3344.                         Keypad 8        104
  3345.                         Keypad 9        105
  3346.                         Keypad *        106
  3347.                         Keypad +        107
  3348.                         Keypad ,        108
  3349.                         Keypad -        109
  3350.                         Keypad .        110
  3351.                         Keypad /        111
  3352.         
  3353.                         F1              112
  3354.                         F2              113
  3355.                         F3              114
  3356.                         F4              115
  3357.                         F5              116
  3358.                         F6              117
  3359.                         F7              118
  3360.                         F8              119
  3361.                         F9              120
  3362.                         F10             121
  3363.                         F11             122
  3364.                         F12             123
  3365.                         F13             124
  3366.                         F14             125
  3367.                         F15             126
  3368.                         F16             127
  3369.     
  3370.             You should only enter values into this section if
  3371.             MAPKEY CHAR either doesn't return any value for a
  3372.             key, or if the    keystroke  generates an ambiguous
  3373.             code.  Failure to do  so  will result in problems
  3374.             accessing TSR programs from DOS and  also  create
  3375.             unnecessary overhead.
  3376.     
  3377.         Section  2  consists of a line containing the  text  KEYS
  3378.             followed by a line for each key number assignment
  3379.             you want to make.
  3380.     
  3381.             Each line has the format:
  3382.     
  3383.             S<Scancode> <Character> <Value>
  3384.             E<Scancode> <Character> <Value>
  3385.             A<Character> <Value>
  3386.     
  3387.             The S format is  used for normal scancodes, E for
  3388.             enhanced  scancodes,  and  A where  you  want  to
  3389.             assign a character to a key  value regardless the
  3390.             scancode.
  3391.     
  3392.             Where <Scancode> and <Character> are values given
  3393.             to you by MAPKEY or assigned in section 1 of this
  3394.             file,  and  <Value> is the  key  value    you  have
  3395.             assigned to the key.  Sedt  uses  some key values
  3396.             internally,  and  you  should  use  the following
  3397.             meanings  for  the  values given in the following
  3398.             table:
  3399.     
  3400.             1        <F1>
  3401.             2        <F2>
  3402.             3        <F3>
  3403.             4        <F4>
  3404.             5        <F5>
  3405.             6        <F6>
  3406.             7        <F7>
  3407.             8        <F8>
  3408.             9        <F9>
  3409.             10        <F10>
  3410.             11        <F11>
  3411.             12        <F12>
  3412.             13        <F13>
  3413.             14        <F14>
  3414.             15        <F15>
  3415.             16        <F16>
  3416.             17        <F17>
  3417.             18        <F18>
  3418.             19        <F19>
  3419.             20        <F20>
  3420.             21        <Find>
  3421.             22        <Insert Here>
  3422.             23        <Remove>
  3423.             24        <Select>
  3424.             25        <Prev Screen>
  3425.             26        <Next Screen>
  3426.             27        <Up Arrow>
  3427.             28        <Left Arrow>
  3428.             29        <Down Arrow>
  3429.             30        <Right Arrow>
  3430.             31        <Keypad 0>
  3431.             32        <Keypad 1>
  3432.             33        <Keypad 2>
  3433.             34        <Keypad 3>
  3434.             35        <Keypad 4>
  3435.             36        <Keypad 5>
  3436.             37        <Keypad 6>
  3437.             38        <Keypad 7>
  3438.             39        <Keypad 8>
  3439.             40        <Keypad 9>
  3440.             41        <Keypad ,>
  3441.             42        <Keypad ->
  3442.             43        <Keypad .>
  3443.             44        <Keypad PF1>
  3444.             45        <Keypad PF2>
  3445.             46        <Keypad PF3>
  3446.             47        <Keypad PF4>
  3447.             48        <Keypad Enter>
  3448.             49        <Backspace>
  3449.             50        <Return>
  3450.  
  3451.             Any  other  key numbers are freely assignable and
  3452.             carry no special meaning.
  3453.     
  3454.         Section 3  consists  of  a  line  containing  the    text
  3455.             COMBINATIONS followed by a number of lines of the
  3456.             following formats
  3457.     
  3458.             <Level> E<Scancode> <Character>
  3459.             <Level> S<Scancode> <Character>
  3460.             <Level> A<Character>
  3461.             <Level> K<Key>
  3462.             <Level> E<Scancode> <Character> <Key #> <Help text>
  3463.             <Level> S<Scancode> <Character> <Key #> <Help text>
  3464.             <Level> A<Character> <Key #> <Help text>
  3465.             <Level> K<Key> <Key #> <Help text>
  3466.     
  3467.             <Level> designates the number of the keystroke in
  3468.             the sequence.
  3469.     
  3470.             E<Scancode>    <Character>    is   an     extended
  3471.             scancode/character combination.
  3472.     
  3473.             S<Scancode>     <Character>    is    a    normal
  3474.             scancode/character combination.
  3475.     
  3476.             A<Character> is any ASCII character.
  3477.     
  3478.             K<Key> is a key number assigned  in  the previous
  3479.             section.
  3480.     
  3481.             For the final character in a sequence <Key  #> is
  3482.             the  key  nymber  you  assign to the sequence and
  3483.             <Help  Text>  is  the  help  text  to  be used in
  3484.             interactive help.
  3485.     
  3486.             To  describe a sequence consisting of ^A^B  which
  3487.             you want to assign as key number 99  and give the
  3488.             help text ^A^B to include:
  3489.     
  3490.             1 A1
  3491.             2 A2 99 ^A^B
  3492.     
  3493.             To describe  two  sequences  consisting of ^A^B^C
  3494.             and ^A^B^D and    assign them to key bumbers 99 and
  3495.             100 include:
  3496.     
  3497.             1 A1
  3498.             2 A2
  3499.             3 A3 99 ^A^B^C
  3500.             4 A4 100 ^A^B^D
  3501.     
  3502.             Two sequences consisting of ^A^B^C^D and ^A^B^D^E
  3503.             would be described as:
  3504.     
  3505.             1 A1
  3506.             2 A2
  3507.             3 A3
  3508.             4 A4 99 ^A^B^C^D
  3509.             3 A4
  3510.             4 A5 100 ^A^B^D^E
  3511.     
  3512.             As you can see, you are building a tree structure
  3513.             where  common  root  sequences are only  included
  3514.             once. You must follow this scheme.
  3515.     
  3516.         Section 4 consists of a line containing the text MAPS and
  3517.             a number of lines in the following formats:
  3518.     
  3519.             <Number> S<Scancode> <Character> <Function> <Help Text>
  3520.             <Number> E<Scancode> <Character> <Function> <Help Text>
  3521.             <Number> A<Character> <Function> <Help Text>
  3522.             <Number> K<Key> <Function> <Help Text>
  3523.             <Number> G S<Scancode> <Character> <Function> <Help Text>
  3524.             <Number> G E<Scancode> <Character> <Function> <Help Text>
  3525.             <Number> G A<Character> <Function> <Help Text>
  3526.             <Number> G K<Key> <Function> <Help Text>
  3527.     
  3528.             <Number> is the index into the table.  This index
  3529.             is  used by several commands that reference keys.
  3530.             It  is    suggested  that  you  number  all entries
  3531.             sequentially starting with 0.
  3532.     
  3533.             G just    after  <Number>  means    that this mapping
  3534.             value  applies when  the  <Gold>  key  was  typed
  3535.             immediatly before the key generating the entry.
  3536.     
  3537.             <Scancode>,  <Character>,  and    <Key> define  the
  3538.             key.  
  3539.     
  3540.             <Function> specifies the function  the    key is to
  3541.             assigned  to.     A function number of  0  or  the
  3542.             letter    G means that the key being defined  is    a
  3543.             <Gold> key.
  3544.     
  3545.             <Help Text> is the help text  assigned to the key
  3546.             or key sequence.
  3547.     
  3548.             Sedt  searches    all  of these tables sequentially
  3549.         from the  start  to  the  finish.   You must take care to
  3550.         ensure that an    A<Character> entry is not placed before a
  3551.         S<Scancode> <Character> or E<Scancode>    <Character>  with
  3552.         the same character value.   You  must also place a K<Key>
  3553.         entry before any entry that might produce a match for the
  3554.         same  character.    It is helpful to  start  with  all    K
  3555.         entries,  followed  by    all  E    and  S    entries,  finally
  3556.         followed by all A entries.
  3557.     
  3558.     7.3    MAPKEY Program
  3559.     
  3560.         The MAPKEY program is  used  to maintain keyboard map and
  3561.     function definition files.
  3562.     
  3563.     MAPKEY Commands:
  3564.     
  3565.         MAPKEY SCAN
  3566.     
  3567.             Prints scancodes for keys pressed.   This command
  3568.             bypasses  the  firmware and prints scancodes  for
  3569.             all keys, even those that normally are trapped by
  3570.             the firmware. To terminate MAPKEY type Esc.
  3571.     
  3572.         MAPKEY CHAR
  3573.     
  3574.             Prints    scancode  and  character  values for keys
  3575.             pressed.  This command shows the keypresses after
  3576.             they are processed by the firmware.  To terminate
  3577.             MAPKEY type Esc.
  3578.     
  3579.         MAPKEY COMPILE KEYS <ASCII file> <Binary file>
  3580.     
  3581.             Comverts  an ASCII keyboard  map  file    into  the
  3582.             binary format required by Sedt.
  3583.     
  3584.         MAPKEY DUMP KEYS <Binary file> <ASCII file>
  3585.     
  3586.             Converts  a  binary  keyboard map  file  into  an
  3587.             editable ASCII format suitable for input  to  the
  3588.             COMPILE KEYS command.
  3589.     
  3590.         MAPKEY TEST <ASCII file>
  3591.     
  3592.             Reads  a file suitable for input to  the  COMPILE
  3593.             KEYS command and displays how Sedt will interpret
  3594.             keystrokes. To terminate MAPKEY type Esc.
  3595.     
  3596.         MAPKEY COMPILE FUNCTIONS <ASCII file> <Binary file>
  3597.     
  3598.             Converts an  ASCII  function definition file into
  3599.             the binary format expected by Sedt.
  3600.     
  3601.         MAPKEY DUMP FUNCTIONS <Binary file> <ASCII file>
  3602.     
  3603.             Converts a function definition file in the binary
  3604.             format required by Sedt  into  an  editable ASCII
  3605.             format    suitable  for  input  to    the   COMPILE
  3606.             FUNCTIONS command.
  3607.     
  3608.     Copyright (c) Anker Berg-Sonne, 1985-1990
  3609.     Sedt Version 4.0 (271)
  3610.     
  3611.     8                Help File
  3612.     
  3613.         The  help file is designed to create  a  tree  structured
  3614.     menu of help screens.  The first few characters of every line are
  3615.     used to drive the menu structure.
  3616.     
  3617.     Space        Lines  starting with space are displayed  on  the
  3618.             screen    and  constitute the normal output, either
  3619.             help text or menu screens.
  3620.     
  3621.     Character    Lines  starting  with any other character defines
  3622.             the menu  structure.   The first character is the
  3623.             first level selection.     Lines starting with just
  3624.             this character come just before the first line of
  3625.             output for this level.     Lines with more than one
  3626.             character define inner menus.
  3627.     
  3628.         Inside    the help text a number    of  tokens  are  allowed.
  3629.     Each  token starts with a % character.      A  special  token,  %%,
  3630.     leaves a single % character in the help text.
  3631.     
  3632.         %A<Number>      Inserts the  help  text  for all keys that map to
  3633.                         the given function number.  Multiple help strings
  3634.                         are separated by commas and spaces.
  3635.         
  3636.     %F<Number>    Inserts  the  help  text  for the first key found
  3637.             that points to the function number given.
  3638.     
  3639.     %T<Number>    Inserts the  help  text  for  the  given function
  3640.             number.
  3641.                         
  3642.     %C<Number>    Advances the cursor to the given column.
  3643.     
  3644.     %K        Inserts the contents of the keyboard map file.
  3645.     
  3646.     Copyright (c) Anker Berg-Sonne, 1985-1990
  3647.     Sedt Version 4.0 (271)
  3648.  
  3649.                 Reference Manual
  3650.  
  3651.     9.1          Interpreting Keyboard Input
  3652.  
  3653.         Whenever  a  control  character, a function key or a  key
  3654.     preceded  by  <Gold>  is  typed Sedt will translate the keystroke
  3655.     into  a  series  of  internal  commands.  The mapping of keys  to
  3656.     internal  commands is defined by a key definition file and can be
  3657.     modified during the editing session.
  3658.  
  3659.         This chapter describes    the  syntax for internal commands
  3660.     and describes the sequence of events between typing a key and the
  3661.     effect of the command being displayed on the terminal.
  3662.  
  3663.         Sedt understands a large variety  of commands and command
  3664.     combinations that have not been tied  to  any keys.  To take full
  3665.     advantage  of  Sedt's  power  you  will need  to  understand  the
  3666.     internal command structure.
  3667.  
  3668.     9.2             Translating Keystrokes
  3669.  
  3670.         When a key is typed the commands tied  to the key will be
  3671.     written  to  an  internal buffer.  If the command string  is  not
  3672.     terminated by a period the command sequence will be stored and    a
  3673.     new  key  will    be  read.    This  continues  until a key with    a
  3674.     definition terminated by a period is typed.  This facilitates the
  3675.     use of multiple keystrokes to input a command sequence.
  3676.  
  3677.         The next  step    is  to scan the command string for tokens
  3678.     and prompts.   Tokens  are  replaced by the value of the token at
  3679.     the time of scanning  and  prompts  will  be  displayed  and then
  3680.     replaced by the response to  the  prompts.  The recognized tokens
  3681.     and prompt strings are:
  3682.  
  3683.         ? will cause SEDT to expect the following syntax:
  3684.  
  3685.             ?<delimiter><string><delimiter>
  3686.  
  3687.         where  <delimiter>  is    any ASCII character.   SEDT  will
  3688.         display  <string> on the bottom line of the  display  and
  3689.         then accept input from the keyboard.
  3690.  
  3691.         ! will cause SEDT to expect the following syntax:
  3692.  
  3693.             !<delimiter><string><delimiter>
  3694.  
  3695.         where <delimiter>  is  any  ASCII  character.    SEDT will
  3696.         display <string> on  the  bottom  line of the display and
  3697.         wait for a key or <Gold>  followed by a key to be struck.
  3698.         A  unique  ASCII  representation  for  the  key  will  be
  3699.         inserted  in  the  command  string  instead of the  above
  3700.         construct.
  3701.  
  3702.         % must be followed by one of  the  following  characters:
  3703.             %, #, B, C, D, E, F, H, L, N, P, T, or W.
  3704.  
  3705.             %% is replaced by a single %.
  3706.  
  3707.             %#<Letter>  is replaced by the current    value  of
  3708.             the  counters controlled by :CNS, :CNI and  :CNP.
  3709.             <Letter> must be in the range A to Z.
  3710.  
  3711.             %A  is only supported on VMS  and  MS-DOS,  OS/2,
  3712.             ATARI ST, and UNIX.  On VMS  it  will be replaced
  3713.             by the    string    Sedt$Dir:,  and  on MS-DOS, OS/2,
  3714.             ATARI ST, and  UNIX  by  the  value  of the SEDTP
  3715.             environment variable.
  3716.         
  3717.                         %B is only supported on VMS  and inserts the next
  3718.                         unseen broadcast message.
  3719.  
  3720.             %C is replaced by the current character position.
  3721.  
  3722.             %D  is    replaced  by  the  device  and    directory
  3723.             specification of the output file  of  the current
  3724.             buffer.
  3725.  
  3726.             %E  is    only  supported on VMS and MS-DOS,  OS/2,
  3727.             ATARI ST, and UNIX.  On VMS it will  be  replaced
  3728.             by the string Sedt$Library:, and on MS-DOS, OS/2,
  3729.             ATARI  ST, and UNIX by    the  value  of    the  SEDT
  3730.             environment variable.
  3731.     
  3732.             %F is replaced by the name of the  output file of
  3733.             the current buffer being edited.
  3734.         
  3735.                         %HNNN is  replaced  by  the  help  text  for  the
  3736.                         function  pointed to  by  MAP  entry  NNN.    The
  3737.                         command sequence :OM/!"Key:   "/.  will print the
  3738.                         help text for the key  pressed in response to the
  3739.                         prompt.
  3740.  
  3741.             %L is replaced by the current line number.
  3742.  
  3743.             %N is replaced by the name of the output  file of
  3744.             the current buffer being edited,  up  to, but not
  3745.             including, the first period.
  3746.  
  3747.             %P is  replaced  by  the  contents  of    the paste
  3748.             buffer
  3749.                         
  3750.             %T is  replaced  by  the file type, including the
  3751.             leading period, of the output file of the current
  3752.             buffer.
  3753.  
  3754.                         %W is replaced by the current cursor column.
  3755.  
  3756.     9.3             Command Syntax
  3757.  
  3758.         Once  the  command  string has been  preprocessed  it  is
  3759.     interpreted as a  series of commands.  This chapter describes all
  3760.     SEDT commands.     For  some  examples  of  how keys are programmed
  3761.     study the keyboard definition file supplied with Sedt.
  3762.  
  3763.         If an  error  occurs during execution of a command string
  3764.     all commands following the one that the error occurred in will be
  3765.     skipped.  Also, if  the  command  was  in  a  series  of commands
  3766.     enclosed in parentheses preceded by a  count  the parentheses are
  3767.     exited and further iterations skipped.
  3768.  
  3769.         SEDT  commands    may  be    grouped  by    placing  them  in
  3770.     parentheses.    A count in  front  of  a  group  of  commands  in
  3771.     parentheses causes the group to be  repeated  the number of times
  3772.     given in the count.
  3773.  
  3774.         It is also possible to execute commands conditionally.
  3775.  
  3776.         ^C(<Commands>)    causes    <Commands> to be executed only if
  3777.         the current buffer contains unsaved changes.
  3778.  
  3779.         ^C(<Commands1>|<Commands2>)   causes  <Commands1>  to  be
  3780.         executed  if  the  buffer  contains  unsaved changes  and
  3781.         <Commands2> to executed if the buffer is unchanged.
  3782.  
  3783.         ^E(<Commands1>)(<Commands2>)  causes  <Commands1>  to  be
  3784.         executed.  If any  error  occurs during the execution the
  3785.         rest of <Commands1> will be skipped and  <Commands2> will
  3786.         be  executed.  <Commands2> string is ignored if no  error
  3787.         occurs.
  3788.  
  3789.         ^E(<Commands1>)(<Commands2>|<Commands3>)    will  execute
  3790.         <Commands1>.   If an error occurs the rest of <Commands1>
  3791.         will be skipped  and  then  <Commands2> will be executed,
  3792.         otherwise  <Commands3> is executed  after  completion  of
  3793.         <Commands1>.
  3794.  
  3795.         ^S(<Commands>) causes  <Commands>  to be executed only if
  3796.         there is a select region active.
  3797.  
  3798.         ^S(<Commands1>|<Commands2>)   causes  <Commands1>  to  be
  3799.         executed if a select region is    active.    If  no  select
  3800.         region is active <Commands2> will be executed>.
  3801.  
  3802.         To save a flag    and  have  it  restored  after    a command
  3803.     sequence you bracket the command sequence and precede it with one
  3804.     of the following commands:
  3805.  
  3806.         ^TB(<commands>)  Saves     the  block/line  mode    flag  and
  3807.             restores it after <commands> have been executed.
  3808.  
  3809.         ^TD(<commands>) Saves the direction flag and restores  it
  3810.             after <commands> have been executed.
  3811.         
  3812.                 ^TF(<commands>)  Saves  the  cursor  behavior toggle  and
  3813.                         restores it after <commands> have been executed.
  3814.  
  3815.         ^TI(<commands>)  Saves    the  replace/insert mode flag and
  3816.             restores it after <commands> have been executed.
  3817.  
  3818.         ^TK(<commands>)  Saves    the  the  typewriter key  command
  3819.             execution  flag  and restores it after <commands>
  3820.             have been executed.
  3821.     
  3822.         ^TT(<commands>) Saves the  the tab insert/expand flag and
  3823.             restores it after <commands> have been executed.
  3824.     
  3825.         ^TU(<commands>) Saves  the  the case sensitivity flag and
  3826.             restores it after <commands> have been executed.
  3827.     
  3828.         ^TX(<commands>)  Saves    the   the  state  of  inserting
  3829.                         function definitions in  prompts  and restores it
  3830.                         after <commands> have been executed.
  3831.     
  3832.         The    following    construct     will    execute  commands
  3833.     conditionally depending on the value of a toggle:
  3834.  
  3835.         ^IB(<commands>) Executes <commands>  if  cut  operates in
  3836.             line mode.
  3837.     
  3838.         ^IB(<commands1>|<commands2>) Executes  <commands1> if cut
  3839.             operates  in  line mode and  <commands2>  if  cut
  3840.             operates in block mode.
  3841.  
  3842.         ^ID(<commands>)  Executes    <commands>  if  the  default
  3843.             direction is forward.
  3844.     
  3845.         ^ID(<commands1>|<commands2>) Executes <commands1>  if the
  3846.             default direction is forward  and  <commands2> if
  3847.             the default direction is reverse.
  3848.         
  3849.                 ^IF(<commands>)    Executes   <commands>  if  the  cursor
  3850.                         is alowed to move freely.
  3851.         
  3852.                 ^IF(<commands1>|<commands2>) Executes  <commands1> if the
  3853.                         cursor is allowed  to move freely and <commands2>
  3854.                         if it is restricted to the length of lines in the
  3855.                         file.
  3856.  
  3857.         ^II(<commands>) Executes  <commands>  if  characters  are
  3858.             inserted when typed.
  3859.         
  3860.         ^II(<commands1>|<commands2>)  Executes    <commands1>    if
  3861.             typed characters are inserted and <commands2>  if
  3862.             typed characters replace existing text.
  3863.  
  3864.         ^IK(<commands>) Executes  <commands>  if typed typewriter
  3865.             key command execution is done.
  3866.     
  3867.         ^IK(<commands1>|<commands2>)  Executes    <commands1>    if
  3868.             typewriter  key  commands    are    executed  and
  3869.             <commands2> if they are not executed.
  3870.  
  3871.         ^IT(<commands>)    Executes    <commands>  if  typed  tab
  3872.             characters are expanded to spaces.
  3873.     
  3874.         ^IT(<commands1>|<commands2>)  Executes    <commands1>    if
  3875.             typed tab characters are  expanded  to spaces and
  3876.             <commands2> if types tab characters are inserted.
  3877.  
  3878.         ^IU(<commands>) Executes <commands> if searches  are case
  3879.             insensitive.
  3880.     
  3881.         ^IU(<commands1>|<commands2>)  Executes      <commands1>  if
  3882.             searches are case insensitive and  <commands2> if
  3883.             searches are case sensitive.
  3884.  
  3885.         ^IX(<commands>)    Executes    <commands>  if    function
  3886.                         definitions are inserted in responses to prompts.
  3887.     
  3888.         ^IX(<commands1>|<commands2>)  Executes      <commands1>  if
  3889.             functio definitions are inserted in  responses to
  3890.                         prompts and <commands2> if they are not.
  3891.  
  3892.         SEDT commands are alphanumeric strings preceded by either
  3893.     the  symbol  @    or  :.    Commands preceded by @    define    a  cursor
  3894.     position and normally move the cursor to the position the command
  3895.     defines.    Commands preceded by :    are  action  commands  that
  3896.     perform a change on the file being  edited  or change the editing
  3897.     environment.  Some action commands must be followed by a position
  3898.     command that defines the range of text that the command acts on.
  3899.  
  3900.         All  commands  can  be preceded by a direction    indicator
  3901.     and/or a count.  Not all commands use the  direction indicator or
  3902.     count.     Those that do have the direction indicator or    count  in
  3903.     the syntactical description.
  3904.  
  3905.         The direction indicator is one of +, -, <  or >.  + and >
  3906.     set  the  current  direction  to  be  forward,    toward    the  last
  3907.     character in the buffer.  - and < set the current direction to be
  3908.     backward, toward  the  first  character  in  the  buffer.   If no
  3909.     direction indicator is    provided the command will use the default
  3910.     direction, which initially is forward but can be changed with the
  3911.     commands :A and :B.
  3912.  
  3913.         Count  is either a string of  decimal  digits  optionally
  3914.     followed  by  a dollar sign, $, and  another  string  of  decimal
  3915.     digits,  or a dollar sign, $, followed by  a  string  of  decimal
  3916.     digits.  If no dollar sign is in the count, or it  starts  with a
  3917.     dollar sign, it is interpreted    as  the  decimal value defined by
  3918.     the string.  If the count  contains  a    dollar    sign  between two
  3919.     decimal strings it is interpreted at the decimal value defined by
  3920.     the first string.  If no count is  given  the  command will use a
  3921.     count of one.  This feature allows you to program a key to have a
  3922.     default count by starting the  definition  with $<count>;  If the
  3923.     user supplies a count, it will override the one after $.
  3924.  
  3925.             $10    returns the count 10
  3926.             20$30    returns the count 20
  3927.             40    returns the count 40
  3928.  
  3929.     9.4                Commands
  3930.  
  3931.     9.4.1.1                @AC
  3932.  
  3933.                    Absolute Character
  3934.  
  3935.     Syntax:     {<Count>}@AC
  3936.  
  3937.     Semantics:    Move  the  cursor    to  the  absolute    character
  3938.             position <Count> in the current buffer.
  3939.  
  3940.     9.4.1.2                @AL
  3941.  
  3942.                  Absolute Line
  3943.  
  3944.     Syntax:     {<Count>}@AL
  3945.  
  3946.     Semantics:    Move the cursor to  the  start    of  absolute line
  3947.             <Count> in the current buffer.
  3948.  
  3949.     9.4.1.3                @BB
  3950.  
  3951.                   Beginning of Buffer
  3952.  
  3953.     Syntax:     @BB
  3954.  
  3955.     Semantics:    Move the cursor to the    first  character  in  the
  3956.             current buffer.
  3957.  
  3958.     9.4.1.4                @BM
  3959.  
  3960.               Matching Bracketing Character
  3961.  
  3962.     Syntax:     @BM
  3963.  
  3964.     Semantics:    Move the  cursor to the matching character if the
  3965.             character under the  cursor  is one of:  ', ", <,
  3966.             >, [, ], {, }, (, or ).  ' and " are searched for
  3967.             in  the  current  direction, the  others  in  the
  3968.             direction the character implies.
  3969.  
  3970.     9.4.1.5                @EB
  3971.  
  3972.                  End of Buffer
  3973.  
  3974.     Syntax:     @EB
  3975.  
  3976.     Semantics:    Move the cursor to the end of the current buffer.
  3977.             The cursor  position will be right after the last
  3978.             character in the buffer.
  3979.  
  3980.     9.4.1.6                @EL
  3981.  
  3982.                   End of Line
  3983.  
  3984.     Syntax:     <Count>@EL
  3985.  
  3986.     Semantics:    Move the cursor to  the  next  end of line in the
  3987.             current  direction.    The end    of  line  is  the
  3988.             position  to  the  immediate  right of    the  last
  3989.             character in the line.     0+@EL    is a special case
  3990.             which  always  stays at the end  of  the  current
  3991.             line.
  3992.  
  3993.     9.4.1.7                @C
  3994.  
  3995.                    Character
  3996.  
  3997.     Syntax:     {+|-|<|>}{<Count>}@C
  3998.  
  3999.     Semantics:    Move the cursor <Count> characters in the current
  4000.             direction.  The end of line terminator is counted
  4001.             as a  character.
  4002.  
  4003.     9.4.1.8                @F
  4004.  
  4005.                       Find
  4006.  
  4007.     Syntax:     {+|-|<|>}{<Count>}@F<Delimiter><String><Delimiter>
  4008.  
  4009.     Semantics:    If  the  <String>  is not empty load it  into  an
  4010.             internal buffer called the current search string.
  4011.             The  search  for  an  occurrence  of  the current
  4012.             search    string in the current direction and place
  4013.             the  cursor  over  the    first  character  in  the
  4014.             occurrence.  The search is case insensitive.
  4015.  
  4016.     9.4.1.9                @L
  4017.  
  4018.                       Line
  4019.  
  4020.     Syntax:     {+|-|<|>}{<Count>}@L
  4021.  
  4022.     Semantics:    Move  the  cursor to the <Count>'th start of line
  4023.             in  the  current direction.  The start of line is
  4024.             the  first   character    on  the  line,    blank  or
  4025.             non-blank.  0-@L is  a    special case, which stays
  4026.             at the beginning of the current line.
  4027.  
  4028.     9.4.1.10               @M
  4029.  
  4030.                       Mark
  4031.  
  4032.     Syntax:     {<Count>}@M
  4033.  
  4034.     Semantics:    Move  the  cursor  to  the  position  in the file
  4035.             where the  cursor  was when a :M command with the
  4036.             same count was executed last.  Valid counts are 1
  4037.             through 10.  An error message is  displayed if an
  4038.             invalid  count is given or a :M command  has  not
  4039.             previously been executed with the same count.
  4040.  
  4041.     9.4.1.11               @N
  4042.  
  4043.                       Next
  4044.  
  4045.     Syntax:     {+|-|<|>}{<Count>}@N
  4046.  
  4047.     Semantics:    Move  the cursor to the <Count>'th occurrence  in
  4048.             the current direction of the string last given in
  4049.             an  @F    command.   The cursor is placed over  the
  4050.             first character  of  the  string.   The search is
  4051.             case insensitive.
  4052.  
  4053.     9.4.1.12              @PAG
  4054.  
  4055.                       Page
  4056.  
  4057.     Syntax:     {+|-|<|>}{<Count>}@PAG
  4058.  
  4059.     Semantics:    Move  the cursor to the first character after the
  4060.             <Count>'th ASCII  <FF>    in the current direction.
  4061.             If  there  are    <Count>-1  ASCII  <FF>'s  in  the
  4062.             current direction the cursor  will  be    placed at
  4063.             the beginning of the file  if  the  direction  is
  4064.             backwards  or  at  the end of  the  file  if  the
  4065.             direction is forward.
  4066.  
  4067.     9.4.1.13              @PAR
  4068.  
  4069.                    Paragraph
  4070.  
  4071.     Syntax:     {+|-|<|>}{<Count>}@PAR
  4072.  
  4073.     Semantics:    Move  the  cursor  to  the  <Count>'th    start  of
  4074.             paragraph in the current direction.  If there are
  4075.             exactly  <Count>-1 beginning  of  paragraphs  the
  4076.             cursor will be placed  at  the    beginning  of the
  4077.             file if the direction is  backward  or at the end
  4078.             of  the  file if the direction    is  forward.    A
  4079.             beginning  of  paragraph  is a sequence of  ASCII
  4080.             space, tab and line feeds containing at least two
  4081.             line  feeds.   The cursor is placed on the  first
  4082.             character after  the  string  of spaces, tabs and
  4083.             line feeds.
  4084.  
  4085.     9.4.1.14              @SCR
  4086.  
  4087.                       Screen
  4088.  
  4089.     Syntax:     {+|-|<|>}{<Count>}@SCR
  4090.  
  4091.     Semantics:    Move <Count> times one    less  than  the number of
  4092.             lines in the current window  lines in the current
  4093.             direction.
  4094.  
  4095.  
  4096.     9.4.1.15              @SEN
  4097.  
  4098.                     Sentence
  4099.  
  4100.     Syntax:     {+|-|<|>}{<Count>}@SEN
  4101.  
  4102.     Semantics:    Move to the  <Count>'th  start of sentence in the
  4103.             current direction.  A  start  of  sentence is the
  4104.             first character after a string    of  ASCII spaces,
  4105.             tabs, line feeds,  <.>,  <;>,  <?>,  <!>,  or <:>
  4106.             containing  exactly one line feed, <.>, <;>, <?>,
  4107.             <!>,  or  <:>  .  If there are exactly    <Count>-1
  4108.             sentences  the cursor will be placed at the start
  4109.             of the    file  if the direction is backwards or at
  4110.             the end of the file if the direction is forward.
  4111.  
  4112.     9.4.1.16               @SR
  4113.  
  4114.                   Select Range
  4115.  
  4116.     Syntax:     @SR
  4117.  
  4118.     Semantics:    Move the cursor to the    point  the  cursor was at
  4119.             the last time a :SEL command  was  executed.   An
  4120.             error message is displayed if a :SEL command  has
  4121.             not been executed.
  4122.  
  4123.     9.4.1.17               @V
  4124.  
  4125.                     Vertical
  4126.  
  4127.     Syntax:     {+|-|<|>}{<Count>}@V
  4128.  
  4129.     Semantics:    Move  the  cursor  <Count>  lines  in the current
  4130.             direction.   SEDT attempts to position the cursor
  4131.             at the same  column as the cursor was at before a
  4132.             series of @V commands were issued.  The cursor is
  4133.             never placed further to the right than one column
  4134.             to the right of the last character on a line.  If
  4135.             the    line  contains  ASCII  tab  characters  or
  4136.             characters    that    SEDT     represents    with
  4137.             multi-character sequences it may  not  be able to
  4138.             position at exactly the same column.
  4139.  
  4140.             A series of these commands will  attempt  to keep
  4141.             the cursor at the column it was at when the first
  4142.             command was executed.
  4143.  
  4144.     9.4.1.18               @W
  4145.  
  4146.                       Word
  4147.  
  4148.     Syntax:     {+|-|<|>}{<Count>}@W
  4149.  
  4150.     Semantics:    Move  the  cursor <Count> words  in  the  current
  4151.             direction.    A  word is either  an  alphanumeric
  4152.             string    containing  underscores  <_> or printable
  4153.             ASCII characters or  a    single    non-alphanumeric,
  4154.             printable  ASCII  character.      The  cursor  is
  4155.             positioned over the first character in the word.
  4156.  
  4157.     9.4.1.19              @XNM
  4158.  
  4159.                     Next Mark
  4160.  
  4161.     Syntax:     @XNM
  4162.  
  4163.     Semantics:    Move to  the next marked position.  The next mark
  4164.             is the closest    in  the  current  direction.   An
  4165.             error is caused if there are no more marks in the
  4166.             current direction.
  4167.  
  4168.     9.4.1.20              @XSR
  4169.  
  4170.                Select Range with no clear
  4171.  
  4172.     Syntax:     @XSR
  4173.  
  4174.     Semantics:    Exactly the same as @SR, but the select region is
  4175.             not cleared.
  4176.  
  4177.     9.4.2.1                    :A
  4178.  
  4179.                     Advance
  4180.  
  4181.     Syntax:     :A
  4182.  
  4183.     Semantics:    Set  the default  direction  for  cursor-movement
  4184.             commands to be    forward  toward  the  end  of the
  4185.             file.
  4186.  
  4187.             The default direction is displayed  on    the  mode
  4188.             line of the display.
  4189.  
  4190.     9.4.2.1                :B
  4191.  
  4192.                     Backward
  4193.  
  4194.     Syntax:     :B
  4195.  
  4196.     Semantics:    Set  the  default  direction for  cursor-movement
  4197.             commands to be backward  toward  the start of the
  4198.             file.
  4199.  
  4200.             The  default direction is displayed on    the  mode
  4201.             line of the display.
  4202.  
  4203.     9.4.2.2                :CB
  4204.  
  4205.                  Cursor at Bottom
  4206.  
  4207.     Syntax:     :CB
  4208.  
  4209.     Semantics:    Scrolls the  current  window  to place the cursor
  4210.             line at the  next to last line in the window.  Is
  4211.             only available in full screen editing mode.
  4212.  
  4213.     9.4.2.3                :CC
  4214.  
  4215.                   Change Case
  4216.  
  4217.     Syntax:     :CC<@ command>
  4218.  
  4219.     Semantics:    Switch    all  lower  case characters to upper case
  4220.             and  all upper case characters to lower case from
  4221.             the  current  cursor  position    to  the  position
  4222.             defined by the @ command.
  4223.  
  4224.     9.4.2.4                :CD
  4225.  
  4226.                   Change to Lower case
  4227.  
  4228.     Syntax:     :CD<@ command>
  4229.  
  4230.     Semantics:    Change all upper  case    characters  to lower case
  4231.             from the current cursor  position to the position
  4232.             defined by the @ command.
  4233.  
  4234.     9.4.2.5                :CE
  4235.  
  4236.                  Change Case Edt Style
  4237.  
  4238.     Syntax:     <Count>:CE
  4239.  
  4240.     Semantics:    Change    the  case  of     alphabetic    characters
  4241.             according to the following rules:
  4242.  
  4243.             If  a  select range is    active    change    the  case
  4244.             within the select range.  Otherwise,  if the last
  4245.             command  was a search command change the case  of
  4246.             the string found by the search.  Otherwise change
  4247.             the case  of  <Count>  characters from the cursor
  4248.             position.
  4249.  
  4250.     9.4.2.6                :CH
  4251.  
  4252.                  Insert ASCII Character
  4253.  
  4254.     Syntax:     <Count>:CH
  4255.  
  4256.     Semantics:    Insert    an  ASCII   character  of  decimal  value
  4257.             <Count> at the cursor position.
  4258.  
  4259.     9.4.2.7                :CK
  4260.  
  4261.                 Checkpoint buffer
  4262.  
  4263.     Syntax:     :CK
  4264.  
  4265.     Semantics:    Perform an autosave on the current buffer exactly
  4266.             as if an automatic autosave had happened.
  4267.  
  4268.     9.4.2.8                :CL
  4269.  
  4270.                   Center Line
  4271.  
  4272.     Syntax:     :CL
  4273.  
  4274.     Semantics:    Center    the line containing  the  cursor  between
  4275.             the left and right margins (denoted by L and R or
  4276.             J in the ruler line).
  4277.  
  4278.     9.4.2.90               :CM
  4279.  
  4280.                  Cursor at Middle
  4281.  
  4282.     Syntax:     :CM
  4283.  
  4284.     Semantics:    Scrolls the  current  window  to place the cursor
  4285.             line on the middle  line  in the window.  Is only
  4286.             available in full screen editing mode.
  4287.  
  4288.     9.4.2.10              :CNA
  4289.  
  4290.                   Add number to counter
  4291.  
  4292.     Syntax:     :CNA{#<Letter>}
  4293.  
  4294.     Semantics:    Add the  contents  of the buffer, starting at the
  4295.             current cursor position as an  integer    up to the
  4296.             first non-numeric character, to the value  of the
  4297.             counter.  The value  can  be preceded by a + or -
  4298.             character.  If #<Letter> is  included  the  value
  4299.             will  be  taken  from  the  variable    <Letter>.
  4300.             Omitting  #<Letter>  has the same effects as  #A.
  4301.             <Letter> must be in the range A to Z.
  4302.  
  4303.     9.4.2.11              :CNG
  4304.  
  4305.                  Get counter from buffer
  4306.  
  4307.     Syntax:     :CNG{#<Letter>}
  4308.  
  4309.     Semantics:    Interpret the contents of the buffer, starting at
  4310.             the current cursor  position  as an integer up to
  4311.             the  first non-numeric character  and  place  the
  4312.             value in the counter.  The value can be preceeded
  4313.             by a  + or - character.  If #<Letter> is included
  4314.             the  value  will   be  taken  from  the  variable
  4315.             <Letter>.    Omitting  #<Letter>   has    the  same
  4316.             effects as #A.    <Letter> must be in  the  range A
  4317.             to Z.
  4318.  
  4319.     9.4.2.12              :CNI
  4320.  
  4321.              Increment or Decrement Counter
  4322.  
  4323.     Syntax:     {+|-}{<Count>}:CNI{#<Letter>}
  4324.  
  4325.     Semantics:    Increment  or    decrement  the    value  of  Sedt's
  4326.             internal  counter by <Count>.    If  #<Letter>  is
  4327.             included  the  value  will  be    taken    from  the
  4328.             variable  <Letter>.    Omitting #<Letter> has the
  4329.             same  effects  as  #A.     <Letter> must be in  the
  4330.             range A to Z.
  4331.  
  4332.     9.4.2.13              :CNP
  4333.  
  4334.             Insert Value of Counter in Buffer
  4335.  
  4336.     Syntax:     :CNP{#<Letter>}
  4337.  
  4338.     Semantics:    Insert    the  decimal  value  of  Sedt's  internal
  4339.             counter into the current  buffer  at  the  cursor
  4340.             location.   If    #<Letter>  is  included the value
  4341.             will  be  taken    from  the  variable    <Letter>.
  4342.             Omitting #<Letter>  has  the  same effects as #A.
  4343.             <Letter> must be in the range A to Z.
  4344.  
  4345.     9.4.2.14              :CNS
  4346.  
  4347.                   Set Value of Counter
  4348.  
  4349.     Syntax:     {+|-|}{<Count>}:CNS{#<Letter>}
  4350.  
  4351.     Semantics:    Set  the  value  of Sedt's  internal  counter  to
  4352.             <Count>.  If #<Letter> is included the value will
  4353.             be taken from the variable  <Letter>.     Omitting
  4354.             #<Letter> has the  same  effects as #A.  <Letter>
  4355.             must be in the range A to Z.
  4356.  
  4357.     9.4.2.15               :CS
  4358.  
  4359.                    Save Buffer Context
  4360.  
  4361.     Syntax:     :CS
  4362.  
  4363.     Semantics:    Save the  cursor  position,  all  marks  and  the
  4364.             current ruler in  a  file with the same file name
  4365.             as the output file  of    the  current  buffer, but
  4366.             with  the  extension  .CTX.     If   the  option
  4367.             CONTEXT=SAVED  is  set    these  setting    will   be
  4368.             restored when the file is opened for editing.
  4369.  
  4370.     9.4.2.16               :CT
  4371.  
  4372.                   Cursor at Top
  4373.  
  4374.     Syntax:     :CT
  4375.  
  4376.     Semantics:    Scrolls the  current  window  to place the cursor
  4377.             line at the second line  in  the window.  Is only
  4378.             available in full screen editing mode.
  4379.  
  4380.     9.4.2.17               :CU
  4381.  
  4382.                   Change to Upper Case
  4383.  
  4384.     Syntax:     :CU<@ command>
  4385.  
  4386.     Semantics:    Change all lower  case    characters  to upper case
  4387.             from the current cursor  position to the position
  4388.             defined by the @ command.
  4389.             
  4390.     9.4.2.18               :CW
  4391.     
  4392.               Change to Other Screen Window
  4393.     
  4394.     Syntax:     :CW
  4395.     
  4396.     Senamtics:    If the screen is in two window mode switch to the
  4397.             other window on  the  screen, otherwise switch to
  4398.             the previous buffer used.
  4399.  
  4400.     9.4.2.19               :D
  4401.  
  4402.                      Delete
  4403.  
  4404.     Syntax:     :D<@ command>
  4405.  
  4406.     Semantics:    Delete all characters from the    current  position
  4407.             to  the  position defined by the  @  command  and
  4408.             place  the  deleted  text in an internal  buffer.
  4409.             Separate buffers exist for different  @ commands;
  4410.             The  relationship  between @ commands and  delete
  4411.             buffers is:
  4412.  
  4413.                 @AC    Unknown
  4414.                 @AL    Unknown
  4415.                 @BB    Unknown
  4416.                 @EB    Unknown
  4417.                 @EL    Line
  4418.                 @C    Char
  4419.                 @F    Find
  4420.                 @L    Line
  4421.                 @M    Unknown
  4422.                 @N    Find
  4423.                 @PAG    Pag
  4424.                 @PAR    Par
  4425.                 @SEN    Sen
  4426.                 @SR    Paste
  4427.                 @V    Unknown
  4428.                 @W    Word
  4429.  
  4430.                 In insert mode    the  text will be removed
  4431.             entirely and the text  after  the  block  removed
  4432.             will  immediately  follow  the    text  before  the
  4433.             block.    In replace mode the block removed will be
  4434.             replaced  with    space  characters, preserving any
  4435.             line terminators.
  4436.  
  4437.     9.4.2.20              :EAP
  4438.  
  4439.                    Delete and Append
  4440.  
  4441.     Syntax:     :EAP<@ command>
  4442.  
  4443.     Semantics:    Delete all characters from the    current  position
  4444.             to  the  position defined by the  @  command  and
  4445.             appends the text to  the  contents of an internal
  4446.             buffer.  Separate buffers exist  for  different @
  4447.             commands;    The relationship between @  commands
  4448.             and delete buffers is:
  4449.  
  4450.                 @AC    Unknown
  4451.                 @AL    Unknown
  4452.                 @BB    Unknown
  4453.                 @EB    Unknown
  4454.                 @EL    Line
  4455.                 @C    Char
  4456.                 @F    Find
  4457.                 @L    Line
  4458.                 @M    Unknown
  4459.                 @N    Find
  4460.                 @PAG    Pag
  4461.                 @PAR    Par
  4462.                 @SEN    Sen
  4463.                 @SR    Paste
  4464.                 @V    Unknown
  4465.                 @W    Word
  4466.  
  4467.                 In insert mode    the  text will be removed
  4468.             entirely and the text  after  the  block  removed
  4469.             will  immediately  follow  the    text  before  the
  4470.             block.    In replace mode the block removed will be
  4471.             replaced with space  characters,  preserving  any
  4472.             line terminators.
  4473.  
  4474.     9.4.2.21               :EF
  4475.  
  4476.                                 Execute Function
  4477.  
  4478.     Syntax:     <Count>:EK
  4479.  
  4480.     Semantics:    Execute the  function  entry  number  <Count>  in
  4481.                         FUNDEF.EDT exectly as  if  it were invoked from a
  4482.                         keystroke.    FUNDEF.INP  is  an  ASCII  readable
  4483.                         version of FUNDEF.EDT.
  4484.  
  4485.     9.4.2.22               :EK
  4486.  
  4487.                    Execute Key
  4488.  
  4489.     Syntax:     :EK<Key>
  4490.  
  4491.     Semantics:    Execute the definition of <Key> exactly as  if it
  4492.             had  been  typed on the keyboard.  This  includes
  4493.             prompting for input and replacement of tokens.
  4494.  
  4495.             <Key>  is a code that identifies  the  class  and
  4496.             value of  the  key.  It consists of a three digit
  4497.             decimal number that defines the  value.  <Key> is
  4498.             the index into the key mapping table described in
  4499.             chapter 7 of this manual.  Normally  the value is
  4500.             inserted into the command with the !  contruct.
  4501.  
  4502.     9.4.2.23               :EL
  4503.  
  4504.                 Set error level
  4505.  
  4506.     Syntax:     <Count>:EL
  4507.  
  4508.     Semantics:    Set the error level to ring the bell at <count>
  4509.             3: All errors
  4510.             2: All errors except entity errors (default)
  4511.             1: Only serious and fatal errors
  4512.             0: never
  4513.  
  4514.     9.4.2.24              :ERC
  4515.  
  4516.                 Clear Edit Region
  4517.  
  4518.     Syntax:     :ERC
  4519.  
  4520.     Semantics:    Cancels any edit region in effect.
  4521.  
  4522.     9.4.2.25              :ERS
  4523.  
  4524.                  Set Edit Region
  4525.  
  4526.     Syntax:     :ERS<@ Command>
  4527.  
  4528.     Semantics:    Sets the edit region of the  current buffer to go
  4529.             from  the  current  cursor position to the  point
  4530.             defined by <@ Command>.
  4531.  
  4532.             As long as an edit region is in effect the cursor
  4533.             cannot    be  moved  outside  it, thus limiting any
  4534.             editing operations be happen within the region.
  4535.  
  4536.     9.4.2.26               :FE
  4537.  
  4538.                    Edit File
  4539.  
  4540.     Syntax:     <Count>:FE<Delimiter><File Name><Delimiter>
  4541.  
  4542.     Semantics:    If the current buffer contains modified text  the
  4543.             user is asked whether the current contents should
  4544.             be saved.  If affirmative, the contents are saved
  4545.             in  the    current  output  file,  otherwise  the
  4546.             contents  are discarded.   The    contents  of  the
  4547.             buffer    are  then  cleared.    The   <File  Name>
  4548.             argument is assigned to the input file    name  and
  4549.             output    file  name of the current buffer and  the
  4550.             file is read into the buffer if it  exists.   The
  4551.             cursor    is  placed  at the first character of the
  4552.             file.
  4553.     
  4554.             If <Count>  is zero the buffer will be read-only.
  4555.             The file will not be automatically saved on a :X.
  4556.  
  4557.     9.4.2.27               :FG
  4558.  
  4559.                     Get File
  4560.  
  4561.     Syntax:     :FG<Delimiter><File Name><Delimiter>
  4562.  
  4563.     Semantics:    Read  the  contents  of the file into the current
  4564.             buffer    at the    current  cursor  position.    The
  4565.             cursor is placed at the first character read in.
  4566.  
  4567.     9.4.2.28              :FNL
  4568.  
  4569.                    Font Larger
  4570.  
  4571.     Syntax:     :FNL
  4572.  
  4573.     Semantics:    Select the  next  larger font that the system can
  4574.             display.
  4575.  
  4576.     9.4.2.29              :FNS
  4577.  
  4578.                    Font Smaller
  4579.  
  4580.     Syntax:     :FNS
  4581.  
  4582.     Semantics:    Select the next  smaller font that the system can
  4583.             display.
  4584.  
  4585.     9.4.2.30               :FS
  4586.  
  4587.                    Save File
  4588.  
  4589.     Syntax:     :FS<Delimiter><File Name><Delimiter>
  4590.  
  4591.     Semantics:    Save the contents of  the  current  buffer in the
  4592.             file given in the <File  Name>    argument.  If the
  4593.             argument is empty, save in the output file of the
  4594.             current  buffer.   
  4595.  
  4596.     9.4.2.31                :FT
  4597.  
  4598.                       Fill
  4599.  
  4600.     Syntax:     :FT<@ command>
  4601.  
  4602.     Semantics:    Fill or  justify  all  text  between  the current
  4603.             cursor position and  the  point  defined by the @
  4604.             command.  If the ruler contains an R to the right
  4605.             of column 1 the text will be filled (jagged right
  4606.             margin).  If it contains a  J  to  the    right  of
  4607.             column    1  the    text will be justified    (straight
  4608.             right margin).    The left margin is defined by the
  4609.             position  of  either  A  or W in the ruler.    To
  4610.             justify  text  SEDT  packs the text as closely as
  4611.             possible with  single spaces between words except
  4612.             after punctuation, where two spaces are used.  It
  4613.             then inserts extra spaces until the text lines up
  4614.             with the right margin.
  4615.  
  4616.     9.4.2.32               :FW
  4617.  
  4618.                     Write File
  4619.  
  4620.     Syntax:     :FW<Delimiter><File Name><Delimiter>
  4621.  
  4622.     Semantics:    Write the contents  of    the current buffer to the
  4623.             file given in the  <File  Name> argument.
  4624.  
  4625.     9.4.2.33               :FX
  4626.  
  4627.                   Execute File
  4628.  
  4629.     Syntax:     :FX<Delimiter><File Name><Delimiter>
  4630.  
  4631.     Semantics:    Read the file given  in  <File    Name> and execute
  4632.             each  line  as SEDT  commands.      ?,  !    and    %
  4633.             expansion is done before execution of each line.
  4634.  
  4635.     9.4.2.34              :GAP
  4636.  
  4637.                  Get and append
  4638.  
  4639.     Syntax:     :GAP<@ command>
  4640.  
  4641.     Semantics:    Append    the   text  between  the  current  cursor
  4642.             position  and  the  position  defined  by  the    @
  4643.             command to the contents  of  an  internal buffer.
  4644.             The text is not deleted  from the current buffer.
  4645.             Several buffers are used for different @ commands
  4646.             as follows:
  4647.  
  4648.                 @AC    Unknown
  4649.                 @AL    Unknown
  4650.                 @BB    Unknown
  4651.                 @EB    Unknown
  4652.                 @EL    Line
  4653.                 @C    Char
  4654.                 @F    Find
  4655.                 @L    Line
  4656.                 @M    Unknown
  4657.                 @N    Find
  4658.                 @PAG    Pag
  4659.                 @PAR    Par
  4660.                 @SEN    Sen
  4661.                 @SR    Paste
  4662.                 @V    Unknown
  4663.                 @W    Word
  4664.  
  4665.     9.4.2.35               :GE
  4666.  
  4667.                       Get
  4668.  
  4669.     Syntax:     :GE<@ command>
  4670.  
  4671.     Semantics:    Place  the  text  between  the    current    cursor
  4672.             position  and  the  position  defined  by  the    @
  4673.             command and  place it in an internal buffer.  The
  4674.             text is not  deleted  from  the  current  buffer.
  4675.             Several buffers are used for different @ commands
  4676.             as follows:
  4677.  
  4678.                 @AC    Unknown
  4679.                 @AL    Unknown
  4680.                 @BB    Unknown
  4681.                 @EB    Unknown
  4682.                 @EL    Line
  4683.                 @C    Char
  4684.                 @F    Find
  4685.                 @L    Line
  4686.                 @M    Unknown
  4687.                 @N    Find
  4688.                 @PAG    Pag
  4689.                 @PAR    Par
  4690.                 @SEN    Sen
  4691.                 @SR    Paste
  4692.                 @V    Unknown
  4693.                 @W    Word
  4694.  
  4695.     9.4.2.36               :GR
  4696.  
  4697.                    Get ruler
  4698.  
  4699.     Syntax:     <Count>:GR
  4700.  
  4701.     Semantics:    Read  the  contents  of the file RULER<Count>.TXT
  4702.             and  define  the  ruler from the contents of  the
  4703.             file.     The  file should have been written by    a
  4704.             save ruler command within the :RL command.  On PC
  4705.             versions the file should  be  located  in  SEDT's
  4706.             master directory.  Under VMS  the  file is should
  4707.             be placed in the directory defined by the logical
  4708.             variable SEDT$DIR.
  4709.  
  4710.     9.4.2.37               :H
  4711.  
  4712.                       Help
  4713.  
  4714.     Syntax:     :H<Delimiter><Help file><Delimiter>
  4715.  
  4716.     Semantics:    Read the help and display it page by  page on the
  4717.             screen.   If  <Help  file> is empty the help file
  4718.             used is HELP.EDT  or  HELP.WPS    depending  on the
  4719.             editing style.    
  4720.  
  4721.             
  4722.     
  4723.     9.4.2.38               :I
  4724.  
  4725.                      Insert
  4726.  
  4727.     Syntax:     :I<Delimiter><Any text><Delimiter>
  4728.  
  4729.     Semantics:    Insert    the  text  in  the  current buffer.   The
  4730.             cursor    is    placed   after  the  last  inserted
  4731.             character.
  4732.  
  4733.     9.4.2.39               :KA
  4734.  
  4735.                               Define character key
  4736.  
  4737.     Syntax:     :KA<Char><Delimiter><Definition><Delimiter>
  4738.  
  4739.     Semantics:      Program the key  generating  character  <Char> to
  4740.                         perform the commands given  in  <Definition>.  If
  4741.                         <Definition> ends with a period the commands will
  4742.                         be  executed when the key is  pressed,  otherwise
  4743.                         the execution is stored and executed when  a  key
  4744.                         ending with a period is struck.
  4745.         
  4746.                         <Char> is a three digit decimal number containing
  4747.                         the ASCII value of the character.
  4748.  
  4749.     9.4.2.40               :KF
  4750.  
  4751.                Define key function string
  4752.  
  4753.     Syntax:     :KF<Key><Delimiter><Definition><Delimiter>
  4754.  
  4755.     Semantics:        Program  the  key given in <Key> to  perform  the
  4756.             commands given    in <Definition>.  If <Definition>
  4757.             ends with a  period the commands will be executed
  4758.             when the key is  pressed, otherwise the execution
  4759.             is stored and executed when  a    key ending with a
  4760.             period is struck.
  4761.  
  4762.             <Key>  is a code that identifies  the  class  and
  4763.             value of  the  key.  It consists of a three digit
  4764.             decimal number that defines the value.     <Key> is
  4765.             the index into the key mapping table described in
  4766.             chapter 7 of this manual.  Normally the  value is
  4767.             inserted into the command with the !  contruct.
  4768.                         
  4769.                         If the  key  was  originally defined at startup a
  4770.                         new  entry  will   be  created  in  the  function
  4771.                         definition  table  to  ensure  that   other  keys
  4772.                         pointing to the same entry are not redefined.
  4773.  
  4774.     9.4.2.41               :KGA
  4775.  
  4776.                             Define gold character key
  4777.  
  4778.     Syntax:     :KGA<Char><Delimiter><Definition><Delimiter>
  4779.  
  4780.     Semantics:      Program <Gold> and  the  key generating character
  4781.                         <Char>  to  perform    the    commands  given  in
  4782.                         <Definition>.  If <Definition> ends with a period
  4783.                         the commands will be executed  when  the  key  is
  4784.                         pressed,  otherwise  the execution is stored  and
  4785.                         executed  when  a  key  ending with a  period  is
  4786.                         struck.
  4787.  
  4788.                         <Char> is a three digit decimal number containing
  4789.                         the ASCII value of the character.
  4790.  
  4791.     9.4.2.42               :KGK
  4792.  
  4793.                             Define gold function key
  4794.  
  4795.     Syntax:     :KGK<Key><Delimiter><Definition><Delimiter>
  4796.  
  4797.     Semantics:      Program <Gold> and the  key assigned  key  number
  4798.                         <key>  to  perform  the    commands    given   in
  4799.                         <Definition>.  If <Definition> ends with a period
  4800.                         the  commands will be executed when  the  key  is
  4801.                         pressed,  otherwise  the  execution is stored and
  4802.                         executed  when  a  key  ending  with a period  is
  4803.                         struck.
  4804.  
  4805.                         <Key> is  a three digit decimal number containing
  4806.                         the key.
  4807.  
  4808.     9.4.2.43               :KK
  4809.  
  4810.                                Define function key
  4811.  
  4812.     Syntax:     :KK<Key><Delimiter><Definition><Delimiter>
  4813.  
  4814.     Semantics:      Program the key  assigned  key  number  <key>  to
  4815.                         perform the commands  given  in <Definition>.  If
  4816.                         <Definition> ends with a period the commands will
  4817.                         be executed when the key  is  pressed,  otherwise
  4818.                         the execution is stored and executed  when  a key
  4819.                         ending with a period is struck.
  4820.  
  4821.                         <Key> is  a three digit decimal number containing
  4822.                         the key.
  4823.  
  4824.     9.4.2.44               :KN
  4825.  
  4826.                Define key function number
  4827.  
  4828.     Syntax:     <Number>:KN<Key>
  4829.  
  4830.     Semantics:        Program  the  key given in <Key> to  perform  the
  4831.             commands given    in function number <Number>.
  4832.  
  4833.             <Key>  is a code that identifies  the  class  and
  4834.             value of  the  key.  It consists of a three digit
  4835.             decimal  number that defines the value.  <Key> is
  4836.             the index into the key mapping table described in
  4837.             chapter 7 of  this manual.  Normally the value is
  4838.             inserted into the command with the !  contruct.
  4839.  
  4840.     9.4.2.45               :LD
  4841.  
  4842.               Decrease indentation
  4843.  
  4844.     Syntax:     {<Count>}:LD
  4845.  
  4846.     Semantics:    Reduce    the indentation level by  <Count>,  which
  4847.             defaults to 1.    The :TAB command moves the cursor
  4848.             to the indentation level if the cursor    is placed
  4849.             to  the  left  of  the    indentation  level.   The
  4850.             indentation level is shown with an I on the ruler
  4851.             display.
  4852.  
  4853.     9.4.2.46               :LI
  4854.  
  4855.               Increase indentation
  4856.  
  4857.     Syntax:     {<Count>}:LI
  4858.  
  4859.     Semantics:    Increase the indentation  level by <Count>, which
  4860.             defaults to 1.    The :TAB command moves the cursor
  4861.             to the indentation level if  the cursor is placed
  4862.             to  the  left  of  the indentation  level.    The
  4863.             indentation level is shown with an I on the ruler
  4864.             display.
  4865.  
  4866.     9.4.2.47               :LK
  4867.  
  4868.               Load key definition
  4869.  
  4870.     Syntax:     :LK<Key><@ Command>
  4871.  
  4872.     Semantics:    Program  the  key  given in <Key> to contain  the
  4873.             contents of  the  given  entity.   See :K for the
  4874.             valid codes for <Key>.
  4875.  
  4876.     9.4.2.48              :LNE
  4877.  
  4878.             Execute keystrokes stored in key
  4879.  
  4880.     Syntax:     {<Count>}:LNE<Key>
  4881.  
  4882.     Semantics:    Interpret the  programming  of the key defined by
  4883.             <Key> as a  sequence  of  keystrokes.  The key is
  4884.             assumed to have been  programmed  through the use
  4885.             of the :LNL command.  See :K for a description of
  4886.             valid codes for <Key>.
  4887.  
  4888.     9.4.2.49              :LNL
  4889.  
  4890.             Store keystrokes in key
  4891.  
  4892.     Syntax:     :LNL<Key>
  4893.  
  4894.     Semantics:    Store subsequent keystrokes in the programming of
  4895.             the  key  defined  by  <Key>  until that  key  is
  4896.             struck.  The keystrokes are executed as they  are
  4897.             stored.   The commands :LNL and :LNE are used  to
  4898.             store  the  keystrokes     required  to  perform    a
  4899.             repeated task and then    perform  the task without
  4900.             having to repeat the keystroke    sequence.  See :K
  4901.             for a description of valid codes for <Key>.
  4902.  
  4903.             The stored keystrokes are encoded as  a  code for
  4904.             the class of the key followed by  either an ASCII
  4905.             character or a 3 digit ASCII value for the key.
  4906.  
  4907.             Codes are:
  4908.  
  4909.                 A    ASCII character
  4910.                 G    Gold ASCII character
  4911.                 F    Function key
  4912.                 B    Gold function key
  4913.  
  4914.             For printable  ASCII  characters,  except digits,
  4915.             the code is followed by the character.    Otherwise
  4916.             the code is followed  by  a  3 digit function key
  4917.             number,  see :K for valid  values,  or    an  ASCII
  4918.             character value.
  4919.  
  4920.     9.4.2.50              :LNX
  4921.  
  4922.                   End learning
  4923.  
  4924.     Syntax:     :LNX
  4925.  
  4926.     Semantics:    Terminate keystroke  learning if it is in effect.
  4927.             This command has  no effect if keystroke learning
  4928.             is not in effect.
  4929.  
  4930.     9.4.2.51               :LS
  4931.  
  4932.              Set indentation level
  4933.  
  4934.     Syntax:     :LS
  4935.  
  4936.     Semantics:    Set the indentation level to the  current  cursor
  4937.             position.  The :TAB command moves the  cursor  to
  4938.             the indentation level if the cursor is placed  to
  4939.             the  left    of   the  indentation  level.    The
  4940.             indentation level is shown with an I on the ruler
  4941.             display.
  4942.  
  4943.     9.4.2.52               :M
  4944.  
  4945.               Mark cursor position
  4946.  
  4947.     Syntax:     {-}{<Count>}:M
  4948.  
  4949.     Semantics:    Store the current cursor  position  in    one  of 9
  4950.             marks.    <Count>, which defaults  to  1, specifies
  4951.             the mark to save the position  in.    Valid marks
  4952.             are 1 through 9.  As text is inserted and deleted
  4953.             from  the  buffer marks are adjusted to point  to
  4954.             the same logical positions in the file.
  4955.  
  4956.             -<Count>:M clears mark number <Count>.
  4957.  
  4958.     9.4.2.53               :NL
  4959.  
  4960.                 New line
  4961.  
  4962.     Syntax:     {<Count>}:NL
  4963.  
  4964.     Semantics:    Insert    a  new    line  at  the cursor position and
  4965.             advance  the  cursor  to the beginning of the new
  4966.             line.
  4967.  
  4968.             If the    ruler  line  has automatic margin control
  4969.             set the margin    is  set to the leftmost character
  4970.             position not containing spaces    and  tabs  in the
  4971.             line the cursor was on.  If the old line had only
  4972.             spaces    or tabs the automatic margin  is  set  to
  4973.             column    1.    Finally insert spaces and  tabs  to
  4974.             advance  the  cursor to the automatic margin just
  4975.             defined.    The  result will be that left margins
  4976.             will line up at any column position.
  4977.  
  4978.             If a non-automatic left margin is set  spaces and
  4979.             tabs  are  inserted  to advance the cursor to the
  4980.             left margin.
  4981.  
  4982.     9.4.2.54               :NS
  4983.  
  4984.                 Substitute next
  4985.  
  4986.     Syntax:     {+|-|<|>}{<Count>}:NS
  4987.  
  4988.     Semantics:    Search in the current  direction  for the current
  4989.             search    string and if it  is  found  replace  the
  4990.             occurrence  with the current  substitute  string.
  4991.             If the cursor is placed on the first character of
  4992.             an occurrence the first substitution will be made
  4993.             on that occurrence.  The current search string is
  4994.             set  with  @F.      :SL  or  :SUB.     The  current
  4995.             substitute  string is set with :SUB.  The  search
  4996.             is case insensitive.
  4997.         
  4998.         9.4.2.55                      :NWC
  4999.  
  5000.                           Change to next unsaved buffer
  5001.         
  5002.         Syntax:         :NWC
  5003.         
  5004.         Semantics:      Switches to the next buffer that contains unsaved
  5005.                         changes.
  5006.         
  5007.         9.4.2.56                      :NWN
  5008.  
  5009.                           Change to next unused buffer
  5010.         
  5011.         Syntax:         :NWN
  5012.         
  5013.         Semantics:      Switches to the next buffer that is unused.
  5014.         
  5015.         9.4.2.57                      :NWU
  5016.  
  5017.                           Change to next used buffer
  5018.         
  5019.         Syntax:         :NWU
  5020.         
  5021.         Semantics:      Switches to the next buffer that is used.
  5022.         
  5023.     9.4.2.58               :OE
  5024.  
  5025.                               Output error message
  5026.  
  5027.     Syntax:     <Count>:OE<Delimiter><Message><Delimiter>
  5028.  
  5029.     Semantics:    Output <Message> exactly  as  an  internal  error
  5030.             message from SEDT and  perform    the  normal error
  5031.             skipping of  commands.     Count is used to set the
  5032.             error level.
  5033.  
  5034.     9.4.2.59               :OL
  5035.  
  5036.                    Open line
  5037.  
  5038.     Syntax:     {<Count>}:OL
  5039.  
  5040.     Semantics:    Insert <Count>, which defaults to  1,  line feeds
  5041.             after the current cursor position.
  5042.  
  5043.     9.4.2.60               :OM
  5044.  
  5045.                  Output message
  5046.  
  5047.                    Syntax:     :OM<Delimiter><Message><Delimiter>
  5048.  
  5049.     Semantics:    Output    <Message>  on  the  message line  of  the
  5050.             display.
  5051.  
  5052.     9.4.2.61               :OS
  5053.  
  5054.                  Toggle over-strike mode
  5055.  
  5056.     Syntax:     :OS
  5057.  
  5058.     Semantics:    Switch between    insert    and  replace mode.
  5059.  
  5060.             In    insert  mode  typed  input  and  characters
  5061.             inserted  with    :I  are  inserted  at  the cursor
  5062.             position and  the  cursor  position  is advanced,
  5063.             thus pushing the  text    after the cursor in front
  5064.             of it.
  5065.  
  5066.             In  replace  mode  the    character  at the  cursor
  5067.             position  is  replaced    by  the  character  being
  5068.             inserted.   If    the  cursor  is at the end of the
  5069.             line the character  will  be inserted rather than
  5070.             replaced.  If the  cursor  is  at a tab character
  5071.             the tab will be expanded  to  spaces  before  the
  5072.             replacement takes place.
  5073.  
  5074.             The  current replace/insert mode is displayed  on
  5075.             the mode line of the display.
  5076.  
  5077.     9.4.2.62               :OW
  5078.  
  5079.                Switch to previous buffer
  5080.  
  5081.     Syntax:        :OW
  5082.  
  5083.     Semantics:    Switch to displaying the buffer that was selected
  5084.             before switching to the current.  In  two  window
  5085.             display  mode the displays in the top and  bottom
  5086.             windows will be switched.   If no buffer has been
  5087.             selected switch to buffer number 1.
  5088.  
  5089.     9.4.2.63               :PD
  5090.  
  5091.                   Insert current date
  5092.  
  5093.     Syntax:     :PD
  5094.  
  5095.     Semantics:    Insert    the  current  system  date in the format:
  5096.             DD-MMM-YYYY.   This  command  has  no  effect  on
  5097.             systems that do not maintain the current date.
  5098.  
  5099.     9.4.2.64               :PL
  5100.  
  5101.                    Load paste buffer
  5102.  
  5103.     Syntax:     :PL<Delimiter><File name><Delimiter>
  5104.  
  5105.     Semantics:    Insert the contents  of  the  file given in <File
  5106.             name>  in the paste  buffer.    This  command  is
  5107.             normally used in conjunction with the :PS command
  5108.             to  preserve  the  contents of the  paste  buffer
  5109.             across multiple sessions.
  5110.     
  5111.     9.4.2.65             :POPCH
  5112.     
  5113.             Restore saved buffer change flag
  5114.     
  5115.     Syntax:     :POPCH
  5116.     
  5117.     Semantics:    Restore a buffer change flag  that was previously
  5118.             saved with a :PUSHCH command.    PUSHCH    and POPCH
  5119.             commands can be nested up to 16 levels deep.
  5120.  
  5121.     9.4.2.66               :PR
  5122.  
  5123.                   Print current buffer
  5124.  
  5125.     Syntax:     :PR<Delimiter><File name><Delimiter>
  5126.  
  5127.     Semantics:    Save  the  current  buffer in the file    given  in
  5128.             <File name>.  After every 61 lines of output  and
  5129.             at  the end of the file a form feed character  is
  5130.             inserted.  If  any  character  is  typed  on  the
  5131.             keyboard  during the process  the  save  will  be
  5132.             terminated.
  5133.  
  5134.     9.4.2.67               :PS
  5135.  
  5136.                    Save paste buffer
  5137.  
  5138.     Syntax:     :PS<Delimiter><File name><Delimiter>
  5139.  
  5140.     Semantics:    Save the contents of the paste buffer in the file
  5141.             given in <File name>.  This  command  is normally
  5142.             used  in  conjunction with :PL to preserve  paste
  5143.             buffers across multiple edit sessions.
  5144.  
  5145.     9.4.2.68               :PT
  5146.  
  5147.                   Insert current time
  5148.  
  5149.     Syntax:     :PT
  5150.  
  5151.     Semantics:    Insert    the  current  system  time in the format:
  5152.             HH-MM-SS.   This command has no effect on systems
  5153.             that do not maintain the current date.
  5154.     
  5155.     9.4.2.69            :PUSHCH
  5156.     
  5157.             Save and clear buffer change flag
  5158.     
  5159.     Syntax:     :PUSHCH
  5160.     
  5161.     Semantics:    The buffer change flag is saved for  the  current
  5162.             buffer    and is then cleared.  The original  state
  5163.             of  the  flag  can  be    restored  with    a  :POPCH
  5164.             command.  :PUSHCH  and    :POPCH    commands  can  be
  5165.             nested up to 16 levels deep.
  5166.  
  5167.     9.4.2.70               :Q
  5168.  
  5169.                       Quit
  5170.  
  5171.     Syntax:     :Q
  5172.  
  5173.     Semantics:    Terminate the Sedt session if no  buffers contain
  5174.             modified text.    If a buffer has been modified ask
  5175.             for confirmation and, if positive, terminate the
  5176.             session.    ATARI  GEM    and    Microsoft  Windows
  5177.             versions will only close the current window.
  5178.  
  5179.     9.4.2.71              :REP
  5180.  
  5181.                     Replace
  5182.  
  5183.     Syntax:     :REP
  5184.  
  5185.     Semantics:    If  the  last  command    was @F or @N  remove  the
  5186.             occurrence  found  and    insert    it in the unknown
  5187.             delete buffer.      Then insert the contents of the
  5188.             paste buffer.
  5189.  
  5190.     9.4.2.72               :RF
  5191.  
  5192.                 Refresh display
  5193.  
  5194.     Syntax:     :RF
  5195.  
  5196.     Semantics:    Clear and reinitialize    the  display  and rewrite
  5197.             it.    This  command  is  used    to  recover  from
  5198.             corruption of the display.
  5199.  
  5200.     9.4.2.73               :RK
  5201.  
  5202.                 Redefine key as character
  5203.  
  5204.     Syntax:     <Count>:RK<Key>
  5205.  
  5206.     Semantics:        Redefine the  key  given  in  <Key> to insert the
  5207.             character whose value is given in <Count>.
  5208.  
  5209.             <Key>  is a code that identifies  the  class  and
  5210.             value of  the  key.  It consists of a three digit
  5211.             decimal number that defines  the value.  <Key> is
  5212.             the index into the key mapping table described in
  5213.             chapter 7 of this manual.   Normally the value is
  5214.             inserted into the command with the !  contruct.
  5215.  
  5216.     9.4.2.74               :RL
  5217.  
  5218.                      Ruler
  5219.  
  5220.     Syntax:     :RL
  5221.  
  5222.     Semantics:    Switch into ruler definition mode.  The cursor is
  5223.             placed    on  the  first    character  on  the  ruler
  5224.             display  in  the  second  line    of  the   screen.
  5225.             Commands that affect the ruler are:
  5226.  
  5227.             Right arrow    Moves the cursor one character to
  5228.                     the right.  The column number can
  5229.                     be read on the status line.
  5230.  
  5231.             Left arrow    Moves  the cursor one  column  to
  5232.                     the left.
  5233.  
  5234.             -         Removes a tab stop at the current
  5235.                     position.
  5236.  
  5237.             Tab        Moves to next tab stop
  5238.  
  5239.             ^H        Moves to column 1
  5240.  
  5241.             T        Inserts a tab stop at the current
  5242.                     position
  5243.  
  5244.             L        Sets   the  left  margin  to  the
  5245.                     current position.   When a Return
  5246.                     is  entered the  cursor  will  be
  5247.                     indented to the left margin.
  5248.  
  5249.             R        Sets  the  right  margin  to  the
  5250.                     current  position.  If the  right
  5251.                     margin    is  reached when entering
  5252.                     text, a  new line will be entered
  5253.                     before the word  being    typed and
  5254.                     the word will be  indented to the
  5255.                     word wrap margin.
  5256.  
  5257.             J        Sets  the  right  margin  to  the
  5258.                     current  position.   If the right
  5259.                     margin is  reached  when entering
  5260.                     text, a new  line will be entered
  5261.                     before the word being  typed  and
  5262.                     the word will be indented  to the
  5263.                     word wrap margin after adjustment
  5264.                     of the text to the right margin.
  5265.  
  5266.             W        Sets the  word wrap margin to the
  5267.                     current position.   W  fixes  the
  5268.                     word wrap position.
  5269.  
  5270.             A        Sets  automatic  margin  control.
  5271.                     The margin is always the leftmost
  5272.                     non-blank position on the current
  5273.                     line.
  5274.  
  5275.             I        Sets  the    indentation  at  the
  5276.                     current position.
  5277.  
  5278.             Space        Removes  all formatting  controls
  5279.                     at the current position.
  5280.  
  5281.             Digit         Load  saved  ruler number  digit.
  5282.                     The  rulers are saved  in  SEDT's
  5283.                     master directory under MS-DOS and
  5284.                     in  the  directory  pointed to by
  5285.                     the logical  name  SEDT$Dir under
  5286.                     VMS.  The  name of the ruler file
  5287.                     is  RulerN.Txt    where  N  is  the
  5288.                     number of the ruler.
  5289.  
  5290.             Gold Digit    Save current ruler in saved ruler
  5291.                     number digit.
  5292.  
  5293.             Return        Returns  from  ruler   definition
  5294.                     mode to normal edit mode.
  5295.  
  5296.             If more than one  ruler setting is commonly used,
  5297.             much time can be saved by storing the settings in
  5298.             rulers 0 through 9.  Ruler 0 is loaded by default
  5299.             and any of the other rulers can be called up with
  5300.             four key strokes:  Gold R Digit Return.
  5301.  
  5302.             The  ruler  line  controls  both  left    and right
  5303.             margins.  Several  options  exist for controlling
  5304.             the margins.
  5305.  
  5306.             No margin control is  done  if    L, W, R and I are
  5307.             set in column 1.   Lines  can  be infinitely long
  5308.             and the cursor is always positioned  in  column 1
  5309.             after a Return is typed.
  5310.  
  5311.             If L is set in a column different from 1 and W is
  5312.             set  in  column  1  a Return will cause  SEDT  to
  5313.             indent to the column defined by L.
  5314.  
  5315.             If I is set in a column different from    1 and the
  5316.             cursor    is positioned to the left of the column a
  5317.             Tab will indent to the column defined by I.
  5318.  
  5319.             The  left  and    right  margin  controls  work  as
  5320.             follows:
  5321.  
  5322.             W and R:
  5323.  
  5324.                 When a non-blank character  is    typed  to
  5325.                 the right of R SEDT  will insert a Return
  5326.                 in front of the first word  that  extends
  5327.                 to  the right of R and indent  to  the    W
  5328.                 column.    The    effect    will be that text
  5329.                 will be filled between W and R.  The fill
  5330.                 command, Gold Keypad  8  will  fill  text
  5331.                 from the current cursor  position  to the
  5332.                 end of the current paragraph.     Text  to
  5333.                 the left of W will be left unaffected.
  5334.  
  5335.             W and J:
  5336.  
  5337.                 When  a  non-blank character is typed  to
  5338.                 the  right  of    J  SEDT  will change  the
  5339.                 spacing between  the current position and
  5340.                 W  so  that   spacing  after  punctuation
  5341.                 characters will be exactly  2  and  after
  5342.                 non-punctuation characters will be 1.    A
  5343.                 return    will then be inserted before  the
  5344.                 first  word that extends to the right  of
  5345.                 J,  after  which  spaces will be inserted
  5346.                 between words  until  the right margin is
  5347.                 justified to J.  Finally the wrapped word
  5348.                 will be indented to  W.  Text to the left
  5349.                 of W will be left unaffected.
  5350.  
  5351.             A and R:
  5352.  
  5353.                 When a non-blank character is inserted to
  5354.                 the right of  R a return will be inserted
  5355.                 in front of the  first    word that extends
  5356.                 to the right of R.    The  text after the
  5357.                 return will be indented to the same level
  5358.                 as the line just terminated.
  5359.  
  5360.             A and J:
  5361.  
  5362.                 When  a  non-blank  character is typed to
  5363.                 the  right  of    J  SEDT  will  change the
  5364.                 spacing  between all words to the left of
  5365.                 the  current  position    so  that  spacing
  5366.                 after  punctuation  characters     will  be
  5367.                 exactly  2  and  after      non-punctuation
  5368.                 characters will be 1.  A return will then
  5369.                 be  inserted  before the first word  that
  5370.                 extends  to  the right of J, after  which
  5371.                 spaces will  be  inserted  between  words
  5372.                 until the right  margin  is  justified to
  5373.                 the  same  level  as    the    line  just
  5374.                 terminated.
  5375.  
  5376.             W to the right of, or at J/R:
  5377.  
  5378.                 No filling or justification will occur.
  5379.  
  5380.             A to the right of or at J/R:
  5381.  
  5382.                 When a Return is typed the cursor will be
  5383.                 indented  to the same level as    the  line
  5384.                 just  terminated.  If the terminated line
  5385.                 is  empty   the  indentation  level  will
  5386.                 remain    unchanged.    This    mode   is
  5387.                 particularly    useful      for  structured
  5388.                 programming.
  5389.  
  5390.     9.4.2.75             :RMCHA
  5391.  
  5392.               Clear character delete buffer
  5393.  
  5394.     Syntax:     :RMCHA
  5395.  
  5396.     Semantics:    Clear  the   contents  of  the    character  delete
  5397.             buffer.
  5398.  
  5399.     9.4.2.76             :RMHEL
  5400.  
  5401.                 Clear help buffer
  5402.  
  5403.     Syntax:     :RMHEL
  5404.  
  5405.     Semantics:    Clear the contents of the help buffer.
  5406.  
  5407.     9.4.2.77             :RMLIN
  5408.  
  5409.                  Clear line delete buffer
  5410.  
  5411.     Syntax:     :RMLIN
  5412.  
  5413.     Semantics:    Clear the contents of the line delete buffer.
  5414.  
  5415.     9.4.2.78             :RMPAG
  5416.  
  5417.                  Clear page delete buffer
  5418.  
  5419.     Syntax:     :RMPAG
  5420.  
  5421.     Semantics:    Clear the contents of the page delete buffer.
  5422.  
  5423.     9.4.2.79             :RMPAR
  5424.  
  5425.               Clear paragraph delete buffer
  5426.  
  5427.     Syntax:     :RMPAR
  5428.  
  5429.     Semantics:    Clear  the  contents   of  the    paragraph  delete
  5430.             buffer.
  5431.  
  5432.     9.4.2.80             :RMPAS
  5433.  
  5434.                 Clear paste buffer
  5435.  
  5436.     Syntax:     :RMPAS
  5437.  
  5438.     Semantics:    Clear the contents of the paste buffer.
  5439.  
  5440.     9.4.2.81             :RMSEA
  5441.  
  5442.                    Clear search buffer
  5443.  
  5444.     Syntax:     :RMSEA
  5445.  
  5446.     Semantics:    Clear the contents of the search buffer.
  5447.  
  5448.     9.4.2.82             :RMSEN
  5449.  
  5450.                Clear sentence delete buffer
  5451.  
  5452.     Syntax:     :RMSEN
  5453.  
  5454.     Semantics:    Clear the contents of the sentence delete buffer.
  5455.  
  5456.     9.4.2.83             :RMSUB
  5457.  
  5458.                  Clear substitute buffer
  5459.  
  5460.     Syntax:     :RMSUB
  5461.  
  5462.     Semantics:    Clear the contents of the substitute buffer.
  5463.  
  5464.     9.4.2.84             :RMUNK
  5465.  
  5466.                Clear unknown delete buffer
  5467.  
  5468.     Syntax:     :RMUNK
  5469.  
  5470.     Semantics:    Clear the contents of the unknown delete buffer.
  5471.  
  5472.     9.4.2.85             :RMWOR
  5473.  
  5474.                  Clear word delete buffer
  5475.  
  5476.     Syntax:     :RMWOR
  5477.  
  5478.     Semantics:    Clear the contents of the word delete buffer.
  5479.  
  5480.     9.4.2.86               :RS
  5481.  
  5482.                    Reset select range
  5483.  
  5484.     Syntax:     :RS
  5485.  
  5486.     Semantics:    Remove the select point and  repaint  the current
  5487.             window.
  5488.  
  5489.     9.4.2.87              :RTAB
  5490.  
  5491.                 Replace tabs with spaces
  5492.  
  5493.     Syntax:     :RTAB<@ command>
  5494.  
  5495.     Semantics:    Within    the    given    entity    replace  all  tab
  5496.             characters with multiple spaces.
  5497.  
  5498.     9.4.2.88              :RUL
  5499.  
  5500.                  Load ruler from entity
  5501.  
  5502.     Syntax:        :RUL<@ command>
  5503.  
  5504.     Semantics:    Interpret  the    text  within the @ command  as    a
  5505.             ruler definition string in the same format as the
  5506.             ruler files.
  5507.  
  5508.     9.4.2.89              :RUS
  5509.  
  5510.                   Save ruler in buffer
  5511.  
  5512.     Syntax:        :RUS
  5513.  
  5514.     Semantics:    Write  the contents of the ruler into the current
  5515.             buffer    in  the same format as a ruler definition
  5516.             file.
  5517.  
  5518.     9.4.2.90              :SAVF
  5519.  
  5520.                         Save function definitions in file
  5521.  
  5522.     Syntax:     :SAVF<Delimiter><File name><Delimiter>
  5523.  
  5524.     Semantics:      Saves   all  function  definitions  (loaded    at
  5525.                         startup, defined later and learned) in  the given
  5526.                         file.    The definitions are saved in the  binary
  5527.                         format for function definition files.  Use MAPKEY
  5528.                         DUMP FUNCTIONS to convert to an ASCII file.
  5529.  
  5530.     9.4.2.91              :SAVK
  5531.  
  5532.                Save key definitions in file
  5533.  
  5534.     Syntax:     :SAVK<Delimiter><File name><Delimiter>
  5535.  
  5536.     Semantics:    Saves the definitions of all key mappings (loaded
  5537.                         at startup,  defined  later  and  learned) in the
  5538.                         given file.  The mappings are saved in the binary
  5539.                         format for key map files.  USE  MAPKEY  DUMP KEYS
  5540.                         to convert to an ASCII file.
  5541.  
  5542.     9.4.2.92               :SC
  5543.  
  5544.                   Show current column
  5545.  
  5546.     Syntax:     :SC
  5547.  
  5548.     Semantics:    Display the column that the cursor  is    currently
  5549.             placed at on the bottom line of the display.
  5550.  
  5551.     9.4.2.93              :SEL
  5552.  
  5553.                      Select
  5554.  
  5555.     Syntax:     :SEL
  5556.  
  5557.     Semantics:    Set  the  select point to be the  current  cursor
  5558.             position.
  5559.  
  5560.     9.4.2.94              :SETB
  5561.  
  5562.                Set block/line mode toggle
  5563.  
  5564.     Syntax:     <Count>:SETB
  5565.  
  5566.     Semantics:    Sets the  value  of the block/line mode toggle to
  5567.             the value of  <Count>.      A  value of 0 sets line
  5568.             mode. 1 sets block mode.
  5569.  
  5570.     9.4.2.95              :SETD
  5571.  
  5572.                   Set direction toggle
  5573.  
  5574.     Syntax:     <Count>:SETD
  5575.  
  5576.     Semantics:    Sets  the value of the direction  toggle  to  the
  5577.             value  of  <Count>.    A  value of 0 sets  it  to
  5578.             reverse.  1 sets it to forward.
  5579.     
  5580.     9.4.2.96              :SETF
  5581.  
  5582.                            Set cursor behavior toggle
  5583.  
  5584.     Syntax:     <Count>:SETF
  5585.  
  5586.     Semantics:      Sets the value of the  cursor  behavior toggle to
  5587.                         the value of <Count>.  A value  of  0  makes  the
  5588.                         left and right cursor keys move through the  file
  5589.                         a  character at a time and the up and  down  keys
  5590.                         never  move  the cursor beyond the end of a line.
  5591.                         1 makes  the  left  and  right  cursor  keys move
  5592.                         freely on the  current  line  and the up and down
  5593.                         keys move straight.   Lines  will  be padded with
  5594.                         spaces if the cursor is  moved  beyond the end of
  5595.                         the line.
  5596.     
  5597.     9.4.2.97              :SETK
  5598.     
  5599.            Set typewriter key command execution toggle
  5600.     
  5601.     Syntax:     <Count>:SETK
  5602.     
  5603.     Semantics:    Makes Sedt execute commands  bound  to typewriter
  5604.             keys  if  <Count>  is  1,   otherwise  the  ascii
  5605.             character bound to the key is  inserted  even  if
  5606.             the key has been programmed.
  5607.  
  5608.     9.4.2.98              :SETR
  5609.  
  5610.                 Set replace/insert toggle
  5611.  
  5612.     Syntax:     <Count>:SETR
  5613.  
  5614.     Semantics:    Sets the value of  the replace/insert mode toggle
  5615.             to the value of <Count>.  A value of 0 sets it to
  5616.             insert.  1 sets it to replace.
  5617.  
  5618.     9.4.2.99              :SETT
  5619.  
  5620.               Set tab insert/expand toggle
  5621.  
  5622.     Syntax:     <Count>:SETT
  5623.  
  5624.     Semantics:    Sets the value of the tab insert/expand toggle to
  5625.             the value of <Count>.  A value    of  0  sets it to
  5626.             inserted.  1 sets it to expand.
  5627.     
  5628.     9.4.2.100                 :SETU
  5629.  
  5630.                Set case sensitivity toggle
  5631.  
  5632.     Syntax:     <Count>:SETU
  5633.  
  5634.     Semantics:    Sets the value of the  case sensitivity toggle to
  5635.             the value of <Count>.  A value    of  0  sets  case
  5636.             insensitive searches.     1  sets  case    sensitive
  5637.             searches.
  5638.  
  5639.     9.4.2.101                 :SETX
  5640.  
  5641.                          Set function definition toggle
  5642.  
  5643.     Syntax:     <Count>:SETX
  5644.  
  5645.     Semantics:  Sets the value of  the  function definition toggle to
  5646.                         the value of  <Count>.    A  value of 0 makes all
  5647.                         keys insert a single  character  in  responses to
  5648.                         prompts.  1 causes keys  assiciated with function
  5649.                         definitions to insert the definition in responses
  5650.                         to prompts.
  5651.  
  5652.     9.4.2.102                  :SI
  5653.     
  5654.                 Send a shift in character
  5655.     
  5656.     :Syntax:    :SI
  5657.     
  5658.     Semantics:    Under VMS or ULTRIX a shift in character (decimal
  5659.             15) is sent to the terminal.  This will shift the
  5660.             displayed character set into the normal character
  5661.             set.
  5662.  
  5663.     9.4.2.103                  :SK
  5664.  
  5665.                   Save key definition
  5666.  
  5667.     Syntax:     :SK<Key>
  5668.  
  5669.     Semantics:    Insert    the  definition  of  <Key> in the current
  5670.             buffer.  For valid codes for <Key> see :K.   This
  5671.             command  is  used in conjunction with :LK to edit
  5672.             key definitions.
  5673.  
  5674.     9.4.2.104                  :SL
  5675.  
  5676.                    Load search buffer
  5677.  
  5678.     Syntax:     :SL<@ command>
  5679.  
  5680.     Semantics:    Copy  the contents  of    the  buffer  between  the
  5681.             cursor position and the position defined by the @
  5682.             command  into  the  search buffer.    The  search
  5683.             buffer is used by the @F, @N and :SUB commands.
  5684.     
  5685.     9.4.2.105                  :SO
  5686.     
  5687.                Send a shift out character
  5688.     
  5689.     Syntax:     :SO
  5690.     
  5691.     Semantics:    Under  VMS  or    ULTRIX     a  shift  out    character
  5692.             (decimal 14) is sent to  the terminal.    This will
  5693.             change    the  character    set  displayed    to    the
  5694.             alternate character set.
  5695.  
  5696.     9.4.2.106                 :STAB
  5697.  
  5698.             Replace multiple spaces with tabs
  5699.  
  5700.     Syntax:     :STAB<@ command>
  5701.  
  5702.     Semantics:    Replace  multiple  spaces within the given entity
  5703.             with tab characters where possible.
  5704.  
  5705.     9.4.2.107                 :STRP
  5706.  
  5707.                   Strip trailing spaces
  5708.  
  5709.     Syntax:     :STRP<@ command>
  5710.  
  5711.     Semantics:    Strip  all  trailing  space  and  tab  characters
  5712.             within the given  entity.    Trailing  spaces are
  5713.             those after the last  printable  character on the
  5714.             line.
  5715.  
  5716.     9.4.2.108                 :SUB
  5717.  
  5718.                    Substitute
  5719.  
  5720.     Syntax:
  5721.     {+|-|<|>}{<Count>}:SUB<Delimiter><Target><Delimiter><Object><Delimiter>
  5722.  
  5723.     Semantics:    Find the  next    occurrence  of    <Target>  in  the
  5724.             current direction and  replace    it with <Object>.
  5725.             If the cursor is placed on the first character of
  5726.             <Target> and the direction is  forward    make  the
  5727.             substitution.     If  <Target>  is empty  use  the
  5728.             current  search  string, set by @F or  :SL.    If
  5729.             <Object>  is  empty  use  the  current substitute
  5730.             string.   If Target is non-empty insert it in the
  5731.             current search string.     If <Object> in non-empty
  5732.             insert it in the  current  substitute string.  If
  5733.             the direction is forward, place the cursor at the
  5734.             end if the inserted string, end if it is backward
  5735.             place the cursor at the beginning.  The search is
  5736.             case insensitive.
  5737.  
  5738.     9.4.2.109                  :SV
  5739.  
  5740.                   Show Version
  5741.  
  5742.     Syntax:     :SV
  5743.  
  5744.     Semantics:    Show the  version  number  of Sedt on the message
  5745.             line.
  5746.  
  5747.     9.4.2.110                 :SYQ
  5748.  
  5749.                   Spawn with no output
  5750.  
  5751.     Syntax:     :SYQ<Delimiter><Command><Delimiter>
  5752.  
  5753.     Semantics:    The :SYQ is the same as the :SYS command with the
  5754.             exception that it  does  not clear the screen and
  5755.             refresh it after the spawn.  This command is used
  5756.             to  execute  programs that accept  no  input  and
  5757.             provide no output.
  5758.  
  5759.     9.4.2.111              :SYR
  5760.  
  5761.               Spawn with redirected output
  5762.  
  5763.     Syntax:     :SYR<Delimiter><New stdout><Delimiter><New stderr>
  5764.              <Delimiter><Command><Delimiter>
  5765.  
  5766.     Semantics:    The :SYR command  is similar to the :SYQ command,
  5767.             but  redirects standard output and  error  output
  5768.             for the child process to the given file names.
  5769.  
  5770.     9.4.2.112              :SYS
  5771.  
  5772.                Spawn to operating system
  5773.  
  5774.     Syntax:     :SYS<Delimiter><Command><Delimiter>
  5775.  
  5776.     Semantics:    Execute  <Command> and a command to the operating
  5777.             system.   Before  the  command    is  executed  the
  5778.             screen is cleared  and    the  modes  reset  to the
  5779.             default modes.    If  <Command>  is  empty call the
  5780.             command processor.  On return prompt for input of
  5781.             a  single  keystroke if <Command> was  non-empty.
  5782.             Then refresh the display.
  5783.  
  5784.             On MS-DOS systems  COMSPEC  is used to locate the
  5785.             command  interpreter which is  spawned    when  the
  5786.             argument to :SYS is empty.
  5787.  
  5788.             SEDT uses free    memory    to  contain  buffers  and
  5789.             other working areas.   Whether    enough    memory is
  5790.             available  to actually perform the  :SYS  command
  5791.             depends  on  the largest memory requirement  that
  5792.             SEDT  has  had    during the session.   It  is  not
  5793.             possible  to  return  memory  once  it    has  been
  5794.             claimed and used by SEDT.
  5795.  
  5796.     9.4.2.113              :TAB
  5797.  
  5798.                  Move to next tab stop
  5799.  
  5800.     Syntax:     {<Count>}:TAB
  5801.  
  5802.     Semantics:    If the current indentation level is to    the right
  5803.             of  the  cursor  insert  tab and space characters
  5804.             until  the  cursor  is    placed at the indentation
  5805.             level.    Otherwise insert tab and space characters
  5806.             until the cursor  is at the next tab stop.  If no
  5807.             tab stops are to  the  right  of  the  cursor  do
  5808.             nothing.  Only space characters  will be inserted
  5809.             if the current tab expansion mode  is  to  expand
  5810.             tabs.  The tab expansion is changed  with the :TT
  5811.             command  and  displayed on the mode line  of  the
  5812.             display.
  5813.  
  5814.             In overstrike  mode  :TAB  will  space    over  any
  5815.             characters already on the line.
  5816.  
  5817.     9.4.2.114              :TAD
  5818.  
  5819.               Adjust text by one tab stop
  5820.  
  5821.     Syntax:     {+|-|<|>}{<Count>}:TAD<@ command>
  5822.  
  5823.     Semantics:    Move  all   lines  fully  contained  between  the
  5824.             current cursor position  and the position defined
  5825.             by the @ command  <Count>  tab    stops left if the
  5826.             current  direction is backward or  right  if  the
  5827.             current direction is forward.  Left adjustment is
  5828.             not performed further than to the first non space
  5829.             or tab character.
  5830.  
  5831.     9.4.2.115               :TB
  5832.  
  5833.                    Toggle Block Mode
  5834.  
  5835.     Syntax:     :TB
  5836.  
  5837.     Semantics:    Toggle between block and line cut and paste.
  5838.  
  5839.             In line mode  (shown  by  line on the mode line),
  5840.             the select region is  all  characters between the
  5841.             cursor and the select point.  Cut operations will
  5842.             remove      the  entire  select  region.        Paste
  5843.             operations will insert the entire paste region at
  5844.             the cursor position.
  5845.  
  5846.             In  block  mode  a cut operation will remove  all
  5847.             characters  that  are     within    the    rectangle
  5848.             delimited by the cursor  and the select point.    A
  5849.             paste  operation  will insert the  paste  buffer,
  5850.             line  by  line    in  the buffer    starting  at  the
  5851.             cursor    position  and at the cursor column,  thus
  5852.             inserting  a  rectangle  of text into the buffer.
  5853.             The  select  region  will only have the column at
  5854.             the select point shown in reverse video.
  5855.  
  5856.     9.4.2.116               :TC
  5857.  
  5858.             Toggle Control Character Display
  5859.  
  5860.     Syntax:     :TC
  5861.  
  5862.     Semantics:    Toggles between display  of control characters as
  5863.             single    reverse  video characters with control    C
  5864.             shown as a reverse video C, or    as strings in the
  5865.             format <name> when name is the ASCII mnemonic for
  5866.             the character.
  5867.  
  5868.     9.4.2.117               :TD
  5869.  
  5870.                 Toggle Direction
  5871.  
  5872.     Syntax:     :TD
  5873.  
  5874.     Semantics:    Toggle the direction flag shown on the mode line.
  5875.             Most  cursor  movement      commands  work  in  the
  5876.             direction shown by the direction flag.
  5877.  
  5878.     9.4.2.118               :TF
  5879.  
  5880.                            Toggle Cursor Key Behavior
  5881.  
  5882.     Syntax:     :TF
  5883.  
  5884.     Semantics:    Toggle  between    two    alternate   cursor  key
  5885.                         behaviors.  When  "Rest" is displayed on the mode
  5886.                         line the left and  right  cursor  keys  will move
  5887.                         through the file and the  up and down cursor keys
  5888.                         will never move further to the  right  trhan  the
  5889.                         end  of a line.  When "Free"  is  displayed,  the
  5890.                         left and right cursor keys will move freely  left
  5891.                         and  right, and the up and down keys will  always
  5892.                         move directly.   Lines will be padded with spaces
  5893.                         if the cursor is moved beyond the end of a line.
  5894.  
  5895.     9.4.2.119               :TI
  5896.  
  5897.                  Test for input
  5898.  
  5899.     Syntax:     :TI
  5900.  
  5901.     Semantics:    Set SEDT's internal error flag    if  the  internal
  5902.             type-ahead buffer  contains any characters.  This
  5903.             command is used  to  terminate    a command loop by
  5904.             typing a character.
  5905.     
  5906.     9.4.2.120               :TK
  5907.     
  5908.              Toggle typewriter key command execution
  5909.     
  5910.     Syntax:     :TK
  5911.     
  5912.     Semantics:    Toggle      between  executing  commands    bound  to
  5913.             typewriter keys and inserting the ascii character
  5914.             bound to the  keys  even  when    they are bound to
  5915.             commands.
  5916.  
  5917.     9.4.2.121               :TM
  5918.  
  5919.                  Toggle buffer markers
  5920.  
  5921.     Syntax:     :TM
  5922.  
  5923.     Semantics:    Toggle between showing the beginning and  end  of
  5924.             buffers  with  bold,  reverse  video BOF and  EOF
  5925.             markers.  Default is not to show the markers.
  5926.  
  5927.     9.4.2.122               :TP
  5928.  
  5929.                    Toggle Cursor Line
  5930.  
  5931.     Syntax:     :TP
  5932.  
  5933.     Semantics:    Toggles between full screen  display  where  the
  5934.             cursor line will float within  the display window
  5935.             to minimize screen updates, and mid-line  editing
  5936.             where the cursor is always on the  center line of
  5937.             the window.
  5938.  
  5939.     9.4.2.123               :TR
  5940.  
  5941.                   Toggle ruler display
  5942.  
  5943.     Syntax:     :TP
  5944.  
  5945.     Semantics:    Toggles display  of  the current ruler at the top
  5946.             of the window.
  5947.  
  5948.     9.4.2.124               :TS
  5949.  
  5950.              Toggle automatic screen shifts
  5951.  
  5952.     Syntax:     :TS
  5953.  
  5954.     Semantics:    Toggle    shifting the screen image horizontally to
  5955.             keep  the  current  cursor  position  within  the
  5956.             screen    margins.  When screen shifting is toggled
  5957.             off the leftmost column on the screen will always
  5958.             correspond to the  leftmost  column  in the file.
  5959.             The current state of  the  toggle is shown on the
  5960.             mode line of the display.
  5961.  
  5962.     9.4.2.125               :TT
  5963.  
  5964.                   Toggle tab expansion
  5965.  
  5966.     Syntax:     :TT
  5967.  
  5968.     Semantics:    Toggle    between  inserting  tab characters in the
  5969.             buffer and  expanding them into space characters.
  5970.             The current state  of  the toggle is displayed on
  5971.             the mode line of the display.
  5972.  
  5973.     9.4.2.126               :TU
  5974.  
  5975.                  Toggle case sensitivity
  5976.  
  5977.     Syntax:     :TU
  5978.  
  5979.     Semantics:    Toggle    between  case     sensitive    and    case
  5980.             insensitive searches.  The  current  state of the
  5981.             toggle    is  displayed on the  mode  line  of  the
  5982.             display.
  5983.  
  5984.     9.4.2.127               :TX
  5985.  
  5986.                       Toggle function definition insertion
  5987.  
  5988.     Syntax:     :TX
  5989.  
  5990.     Semantics:    Toggle  between inserting characters and function
  5991.                         definitions in  reponses to prompts.  The current
  5992.                         state of the toggle is displayed on the mode line
  5993.                         of the display.
  5994.  
  5995.     9.4.2.128               :UC
  5996.  
  5997.                    Undelete character
  5998.  
  5999.     Syntax:     {<Count>}:UC
  6000.  
  6001.     Semantics:    Insert the contents  of  the  character  undelete
  6002.             buffer at the current cursor position.
  6003.  
  6004.     9.4.2.129               :UL
  6005.  
  6006.                  Undelete line
  6007.  
  6008.     Syntax:     {<Count>}:UL
  6009.  
  6010.     Semantics:    Insert    the contents of the line delete buffer at
  6011.             the current cursor position.
  6012.  
  6013.     9.4.2.130               :UM
  6014.  
  6015.                    Undo last command
  6016.  
  6017.     Syntax:     :UM
  6018.  
  6019.     Semantics:    Attempt to negate the effect of the last command.
  6020.             Commands for which :UM has been implemented are:
  6021.  
  6022.                 All @ commands.
  6023.                 :SUB
  6024.                 :D
  6025.  
  6026.             Attempting to undo any other command  will  cause
  6027.             an error do be displayed.
  6028.  
  6029.     9.4.2.131              :UOFF
  6030.  
  6031.                  Turn off screen updates
  6032.  
  6033.     Syntax:     :UOFF
  6034.  
  6035.     Semantics:    Prevents screen  updating  until a :UON, :WC, :WI
  6036.             or :RL command is executed.  This command is used
  6037.             to  prevent excessive screen  updating    processes
  6038.             with complex command sequences;
  6039.  
  6040.     9.4.2.132              :UON
  6041.  
  6042.                   Turn on screen updates
  6043.  
  6044.     Syntax:     :UON
  6045.  
  6046.     Semantics:    Restores screen updating and repaint  the  screen
  6047.             to  reflect any changes made while  updates  were
  6048.             turned off.
  6049.  
  6050.     9.4.2.133              :UPAG
  6051.  
  6052.                  Undelete page
  6053.  
  6054.     Syntax:     {<Count>}:UPAG
  6055.  
  6056.     Semantics:    Insert the contents of the page delete buffer  at
  6057.             the current cursor position.
  6058.  
  6059.     9.4.2.134              :UPAR
  6060.  
  6061.                    Undelete paragraph
  6062.  
  6063.     Syntax:     {<Count>}:UPAR
  6064.  
  6065.     Semantics:    Insert    the  contents  of  the    paragraph  delete
  6066.             buffer at the current cursor position.
  6067.  
  6068.     9.4.2.135              :UPD
  6069.  
  6070.                   Update screen header
  6071.  
  6072.     Syntax:     :UPD
  6073.  
  6074.     Semantics:    Update    the  first  line of the display.  This is
  6075.             normally done  only  when SEDT is ready for input
  6076.             and there are no  characters  in  the  type-ahead
  6077.             buffer.
  6078.  
  6079.     9.4.2.136              :USEN
  6080.  
  6081.                    Undelete sentence
  6082.  
  6083.     Syntax:     {<Count>}:USEN
  6084.  
  6085.     Semantics:    Insert the contents of the sentence delete buffer
  6086.             at the current cursor position.
  6087.  
  6088.     9.4.2.137              :USR
  6089.  
  6090.                      Paste
  6091.  
  6092.     Syntax:     {<Count>}:USR
  6093.  
  6094.     Semantics:    Insert the contents of the  paste  buffer  at the
  6095.             current cursor position.
  6096.  
  6097.     9.4.2.138               :UU
  6098.  
  6099.                 Undelete unknown
  6100.  
  6101.     Syntax:     {<Count>}:UU
  6102.  
  6103.     Semantics:    Insert the  contents of the unknown delete buffer
  6104.             at the current cursor position.
  6105.  
  6106.     9.4.2.139               :UW
  6107.  
  6108.                  Undelete word
  6109.  
  6110.     Syntax:     {<Count>}:UW
  6111.  
  6112.     Semantics:    Insert the contents  of the word delete buffer at
  6113.             the current cursor position.
  6114.  
  6115.     9.4.2.140               :WC
  6116.  
  6117.                  Toggle windows
  6118.  
  6119.     Syntax:     :WC
  6120.  
  6121.     Semantics:    Toggle between one and two window  displays.  The
  6122.             bottom window will be empty if :WC is used before
  6123.             :WI is used.  If :WI has been used the two window
  6124.             display  will  show  the  buffer  selected as the
  6125.             current buffer    before    the  last :WI command was
  6126.             executed.
  6127.  
  6128.     9.4.2.141               :WD
  6129.  
  6130.                   Toggle width
  6131.  
  6132.     Syntax:     :WD
  6133.  
  6134.     Semantics:    Toggle between 80 and 132 column display formats.
  6135.             This command has no effect on systems that cannot
  6136.             support 132 character displays.
  6137.  
  6138.     9.4.2.142               :WI
  6139.  
  6140.                  Select buffer
  6141.  
  6142.     Syntax:     <Count>:WI
  6143.  
  6144.     Semantics:    Select the buffer given in <Count> as the current
  6145.             buffer.  Valid buffers are 1 through 4.
  6146.  
  6147.             Each  buffer  has  a    unique    edit  environment
  6148.             including:
  6149.  
  6150.                 Input file
  6151.                 Output file
  6152.                 Current position
  6153.                 Ruler
  6154.                 Marks
  6155.                 Select point
  6156.  
  6157.     9.4.2.143               :X
  6158.  
  6159.                       Exit
  6160.  
  6161.     Syntax:     :X
  6162.  
  6163.     Semantics:    Save  the  current buffer in  it's  output  file.
  6164.             Then  exit  unless other buffers contain  unsaved
  6165.             changes.    If    unsaved changes exist prompt  the
  6166.             user for confirmation before exiting.
  6167.  
  6168.     9.4.2.144               :YN
  6169.  
  6170.                  Prompt for Confirmation
  6171.  
  6172.     Syntax:     :YN<Delimiter><String><Delimiter>
  6173.  
  6174.     Semantics:    Display  the  string  on the bottom line  of  the
  6175.             display with the string <Y/N>:    appended and wait
  6176.             for the user to enter either a Y or an N from the
  6177.             keyboard.    If  the response is Y the error flag
  6178.             will be  set,  otherwise it will be cleared.  :YN
  6179.             is  used  in  conjunction   with  ^E  conditional
  6180.             execution.               For      example
  6181.             ^E(:YN/Question?/)(:OM/Yes/|:OM/No/)  will output
  6182.             a Yes  if Y is typed in response.  If <control> U
  6183.                         is typed the entire command will be aborted.
  6184.  
  6185.     9.4.2.145                  :Z
  6186.  
  6187.                    Zap buffer
  6188.  
  6189.     Syntax:     <Count>:Z
  6190.  
  6191.     Semantics:    Clear  the  current  buffer.   If unsaved changes
  6192.             have been  made  prompt the user for confirmation
  6193.             before clearing.
  6194.     
  6195.             If <Count> is zero,  the buffer will be marked as
  6196.             read-only.  Even if the  buffer  is modified, the
  6197.             contents will not be saved and    you  will  not be
  6198.             warned if the buffer is cleared.
  6199.     
  6200.     Copyright (c) Anker Berg-Sonne, 1985-1990
  6201.     Sedt Version 4.0 (271)
  6202.  
  6203.  
  6204.                    Appendix A
  6205.  
  6206.                   Keyboard translation
  6207.  
  6208.     Key        LK201/LK250
  6209.  
  6210.     <Escape>
  6211.     <Backspace>
  6212.     <Return>    <Return>
  6213.     <Linefeed>
  6214.     <Delete>    <<X>
  6215.     <Control>    <Ctl>
  6216.     <Tab>        <Tab>
  6217.     <Space>     <Spacebar>
  6218.     <F1>        <F1>
  6219.     <F2>        <F2>
  6220.     <F3>        <F3>
  6221.     <F4>        <F4>
  6222.     <F5>        <F5>
  6223.     <F6>        <F6>
  6224.     <F7>        <F7>
  6225.     <F8>        <F8>
  6226.     <F9>        <F9>
  6227.     <F10>        <F10>
  6228.     <F11>        <F11>
  6229.     <F12>        <F12>
  6230.     <F13>        <F13>
  6231.     <F14>        <F14>
  6232.     <Help>        <Help>
  6233.     <Do>        <Do>
  6234.     <F17>        <F17>
  6235.     <F18>        <F18>
  6236.     <F19>        <F19>
  6237.     <F20>        <F20>
  6238.     <Find>        <Find>
  6239.     <Insert Here>    <Insert Here>
  6240.     <Remove>    <Remove>
  6241.     <Select>    <Select>
  6242.     <Prev Screen>    <Prev Screen>
  6243.     <Next Screen>    <Next Screen>
  6244.     <Up arrow>    <Up Arrow>
  6245.     <Left arrow>    <Left Arrow>
  6246.     <Down arrow>    <Down Arrow>
  6247.     <Right arrow>    <Right Arrow>
  6248.     <Keypad 0>    <Keypad 0>
  6249.     <Keypad 1>    <Keypad 1>
  6250.     <Keypad 2>    <Keypad 2>
  6251.     <Keypad 3>    <Keypad 3>
  6252.     <Keypad 4>    <Keypad 4>
  6253.     <Keypad 5>    <Keypad 5>
  6254.     <Keypad 6>    <Keypad 6>
  6255.     <Keypad 7>    <Keypad 7>
  6256.     <Keypad 8>    <Keypad 8>
  6257.     <Keypad 9>    <Keypad 9>
  6258.     <Keypad ,>    <Keypad ,>
  6259.     <Keypad ->    <Keypad ->
  6260.     <Keypad .>    <Keypad .>
  6261.     <Gold>        <Keypad PF1>
  6262.     <PF2>        <Keypad PF2>
  6263.     <PF3>        <Keypad PF3>
  6264.     <PF4>        <Keypad PF4>
  6265.     <Keypad Enter>    <Keypad Enter>
  6266.  
  6267.     Key        IBM PC        IBM PC/AT    Enhanced IBM
  6268.  
  6269.     <Escape>
  6270.     <Backspace>
  6271.     <Return>    <Enter>     <Enter>     <Enter>
  6272.     <Linefeed>
  6273.     <Delete>    <<->        <<->        <Backspace>
  6274.     <Control>    <Ctrl>        <Ctrl>        <Ctrl>
  6275.     <Tab>        <->|>        <->|>        <Tab>
  6276.     <Space>     <Spacebar>    <Spacebar>    <Spacebar>
  6277.     <F1>        <F1>        <F1>        <F1>
  6278.     <F2>        <F2>        <F2>        <F2>
  6279.     <F3>        <F3>        <F3>        <F3>
  6280.     <F4>        <F4>        <F4>        <F4>
  6281.     <F5>        <F5>        <F5>        <F5>
  6282.     <F6>        <F6>        <F6>        <F6>
  6283.     <F7>        <F7>        <F7>        <F7>
  6284.     <F8>        <F8>        <F8>        <F8>
  6285.     <F9>        <F9>        <F9>        <F9>
  6286.     <F10>        <F10>        <F10>        <F10>
  6287.     <F11>        <Shift> <F1>    <Shift> <F1>    <F11>
  6288.     <F12>        <Shift> <F2>    <Shift> <F2>    <F12>
  6289.     <F13>        <Shift> <F3>    <Shift> <F3>    <Shift> <F3>
  6290.     <F14>        <Shift> <F4>    <Shift> <F4>    <Shift> <F4>
  6291.     <Help>        <Shift> <F5>    <Shift> <F5>    <Shift> <F5>
  6292.     <Do>        <Shift> <F6>    <Shift> <F6>    <Shift> <F6>
  6293.     <F17>        <Shift> <F7>    <Shift> <F7>    <Shift> <F7>
  6294.     <F18>        <Shift> <F8>    <Shift> <F8>    <Shift> <F8>
  6295.     <F19>        <Shift> <F9>    <Shift> <F9>    <Shift> <F9>
  6296.     <F20>        <Shift> <F10>    <Shift> <F10>    <Shift> <F10>
  6297.     <Find>        <Shift> <Home>    <Shift> <Home>    <Home>
  6298.     <Insert Here>    <Shift> <Ins>    <Shift> <Ins>    <Insert>
  6299.     <Remove>    <Shift> <Del>    <Shift> <Del>    <Delete>
  6300.     <Select>    <Shift> <End>    <Shift> <End>    <End>
  6301.     <Prev Screen>    <Shift> <Pg Up> <Shift> <Pg Up> <Page Up>
  6302.     <Next Screen>    <Shift> <Pg Dn> <Shift> <Pg Dn> <Page Down>
  6303.     <Up arrow>    <Shift> <Up Arrow>
  6304.                     <Shift> <Up Arrow>
  6305.                             <Up Arrow>
  6306.     <Left arrow>    <Shift> <Left Arrow>
  6307.                     <Shift> <Left Arrow>
  6308.                             <Left Arrow>
  6309.     <Down arrow>    <Shift> <Down Arrow>
  6310.                     <Shift> <Down Arrow>
  6311.                             <Down Arrow>
  6312.     <Right arrow>    <Shift> <Right Arrow>
  6313.                     <Shift> <Right Arrow>
  6314.                             <Right Arrow>
  6315.     <Keypad 0>    <Keypad 0>    <Keypad 0>    <Keypad 0>
  6316.     <Keypad 1>    <Keypad 1>    <Keypad 1>    <Keypad 1>
  6317.     <Keypad 2>    <Keypad 2>    <Keypad 2>    <Keypad 2>
  6318.     <Keypad 3>    <Keypad 3>    <Keypad 3>    <Keypad 3>
  6319.     <Keypad 4>    <Keypad 4>    <Keypad 4>    <Keypad 4>
  6320.     <Keypad 5>    <Keypad 5>    <Keypad 5>    <Keypad 5>
  6321.     <Keypad 6>    <Keypad 6>    <Keypad 6>    <Keypad 6>
  6322.     <Keypad 7>    <Keypad 7>    <Keypad 7>    <Keypad 7>
  6323.     <Keypad 8>    <Keypad 8>    <Keypad 8>    <Keypad 8>
  6324.     <Keypad 9>    <Keypad 9>    <Keypad 9>    <Keypad 9>
  6325.     <Keypad ,>    <Shift> <Keypad ->
  6326.                     <Keypad ->    <Keypad +>
  6327.     <Keypad ->    <Keypad ->    <Prt Sc>    <Shift> <Keypad +>
  6328.     <Keypad .>    <Keypad .>    <Keypad .>    <Keypad .>
  6329.     <Gold>        <Esc>,<Num Lock><Esc>        <Esc>,<Num Lock>
  6330.     <PF2>        <Shift> <Num Lock>
  6331.                     <Num Lock>    <Keypad />
  6332.     <PF3>        <Scroll Lock>
  6333.                     <Scroll Lock>    <Keypad *>
  6334.     <PF4>        <Shift> <Scroll Lock>
  6335.                     <Sys Req>    <Keypad ->
  6336.     <Keypad Enter>    <Keypad +>    <Keypad +>    <Keypad Enter>
  6337.  
  6338.     Key        IBM Convert.    ATARI ST
  6339.  
  6340.     <Escape>
  6341.     <Backspace>            <Backspace>
  6342.     <Return>    <Enter>     <Return>
  6343.     <Linefeed>
  6344.     <Delete>    <Bksp>        <Delete>
  6345.     <Control>    <Ctrl>        <Control>
  6346.     <Tab>        <->|>        <Tab>
  6347.     <Space>     <Spacebar>    <Spacebar>
  6348.     <F1>        <F1>        <F1>
  6349.     <F2>        <F2>        <F2>
  6350.     <F3>        <F3>        <F3>
  6351.     <F4>        <F4>        <F4>
  6352.     <F5>        <F5>        <F5>
  6353.     <F6>        <F6>        <F6>
  6354.     <F7>        <F7>        <F7>
  6355.     <F8>        <F8>        <F8>
  6356.     <F9>        <F9>        <F9>
  6357.     <F10>        <F10>        <F10>
  6358.     <F11>        <Shift> <F1>    <Shift> <F1>
  6359.     <F12>        <Shift> <F2>    <Shift> <F2>
  6360.     <F13>        <Shift> <F3>    <Shift> <F3>
  6361.     <F14>        <Shift> <F4>    <Shift> <F4>
  6362.     <Help>        <Shift> <F5>    <Shift> <F5>
  6363.     <Do>        <Shift> <F6>    <Shift> <F6>
  6364.     <F17>        <Shift> <F7>    <Shift> <F7>
  6365.     <F18>        <Shift> <F8>    <Shift> <F8>
  6366.     <F19>        <Shift> <F9>    <Shift> <F9>
  6367.     <F20>        <Shift> <F10>    <Shift> <F10>
  6368.     <Find>        <Fn> <Home>    <Shift> <Clr Home>
  6369.     <Insert Here>    <Ins>        <Insert>
  6370.     <Remove>    <Del>        <Clr Home>
  6371.     <Select>    <Fn> <End>    <Shift> <Insert>
  6372.     <Prev Screen>    <Fn> <PgUp>    <Shift> <Up Arrow>
  6373.     <Next Screen>    <Fn> <PgDn>    <Shift> <Down Arrow>
  6374.     <Up arrow>    <Up Arrow>    <Up Arrow>
  6375.     <Left arrow>    <Left Arrow>    <Left Arrow>
  6376.     <Down arrow>    <Down Arrow>    <Down Arrow>
  6377.     <Right arrow>    <Right Arrow>    <Right Arrow>
  6378.     <Keypad 0>    <Fn> <Keypad 0> <Keypad 0>
  6379.     <Keypad 1>    <Fn> <Keypad 1> <Keypad 1>
  6380.     <Keypad 2>    <Fn> <Keypad 2> <Keypad 2>
  6381.     <Keypad 3>    <Fn> <Keypad 3> <Keypad 3>
  6382.     <Keypad 4>    <Fn> <Keypad 4> <Keypad 4>
  6383.     <Keypad 5>    <Fn> <Keypad 5> <Keypad 5>
  6384.     <Keypad 6>    <Fn> <Keypad 6> <Keypad 6>
  6385.     <Keypad 7>    <Fn> <Keypad 7> <Keypad 7>
  6386.     <Keypad 8>    <Fn> <Keypad 8> <Keypad 8>
  6387.     <Keypad 9>    <Fn> <Keypad 9> <Keypad 9>
  6388.     <Keypad ,>    <Fn> <Keypad *> <Keypad +>
  6389.     <Keypad ->    <Fn> <Keypad /> <Keypad ->
  6390.     <Keypad .>    <Fn> <Keypad .> <Keypad .>
  6391.     <Gold>        <Num Lock>    <Esc>,<Keypad (>
  6392.     <PF2>        <Scroll Lock>    <Keypad )>
  6393.     <PF3>        <Fn> <Keypad -> <Keypad />
  6394.     <PF4>        <Fn> <Keypad +> <Keypad *>
  6395.     <Keypad Enter>            <Keypad Enter>
  6396.     
  6397.     Copyright (c) Anker Berg-Sonne, 1985-1990
  6398.     Sedt Version 4.0 (271)
  6399.  
  6400.  
  6401.                     Appendix B
  6402.  
  6403.                    Installation
  6404.         
  6405.                 Each installation  kit contains a file named INSTALL.HOW.
  6406.         This text file contains installation instructions for the kit.
  6407.  
  6408.     
  6409.     Sedt Version 4.0 (271)
  6410.  
  6411.  
  6412.                    Appendix C
  6413.  
  6414.                   Error Messages
  6415.  
  6416.         Error messages    fall  into  four  classes:    Fatal error
  6417.     messages that cause  Sedt to abort execution, and three levels of
  6418.     non-fatal errors.
  6419.  
  6420.         Fatal errors  cause  Sedt  to abort the edit session.  If
  6421.     you have enabled  autosaves  you  may be able to recover the edit
  6422.     session close to the point where it aborted.
  6423.  
  6424.     Fatal errors:
  6425.  
  6426.     Attempt to get before beginning
  6427.         Internal Sedt  error.     This is caused by a bug in Sedt.
  6428.  
  6429.     Could not open key definition file
  6430.         Sedt  could  not  fin  the  key  definition file  due  to
  6431.         improper installation or improper operation of Sedt .
  6432.  
  6433.     Error creating buffer file
  6434.         Sedt was unable to create a temporary file on disk due to
  6435.         a lack    of  disk  space available.  Correct the situation
  6436.         and restart the edit session for a recovery.
  6437.  
  6438.     Error reading data from buffer
  6439.         Internal Sedt error.  This is  caused  by  a bug in Sedt.
  6440.  
  6441.     Error writing data from buffer
  6442.         Sedt was unable  to write to a temporary file on disk due
  6443.         to a lack of disk space available.  Correct the situation
  6444.         and restart the edit session for a recovery.
  6445.  
  6446.     More files than buffers
  6447.         You attempted to call Sedt  with a command that requested
  6448.         editing more than 4 different files.
  6449.  
  6450.     Too many file arguments
  6451.         For each buffer you can only  request  an  input  and  an
  6452.         output file.  You supplied more than  two  file arguments
  6453.         to the buffer.
  6454.  
  6455.         Other errors  are  non-fatal  and can optionally ring the
  6456.     bell to get your attention.  This is done with the :EL command.
  6457.